Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009624/0.009624, allocations: 105.4 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002222/0.002222, allocations: 196.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00189/1.176, allocations: 0.7334 MB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001411/1.177, allocations: 1.155 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/1.177, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/1.177, allocations: 3.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/1.177, allocations: 11.88 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/1.178, allocations: 135.3 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/1.178, allocations: 123.8 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/1.178, allocations: 23.94 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/1.178, allocations: 55.77 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/1.178, allocations: 43.88 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/1.178, allocations: 8 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-05/1.178, allocations: 28 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/1.179, allocations: 15.86 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/1.179, allocations: 47.83 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/1.179, allocations: 115.7 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.179, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.325e-06/1.179, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.179, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006202/1.179, allocations: 410.7 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/1.179, allocations: 16.03 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/1.18, allocations: 8.844 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/1.18, allocations: 176.2 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/1.18, allocations: 4.375 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/1.18, allocations: 8.359 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/1.18, allocations: 62.23 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/1.18, allocations: 192 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/1.18, allocations: 11.92 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.18, allocations: 4 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/1.18, allocations: 39.97 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/1.181, allocations: 352.5 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/1.181, allocations: 54.61 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.181, allocations: 32.97 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/1.181, allocations: 0 / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/1.181, allocations: 91.3 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.765e-06/1.181, allocations: 0 / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004184/1.182, allocations: 145.5 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/1.182, allocations: 55.41 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/1.182, allocations: 117.8 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/1.182, allocations: 33.7 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/1.182, allocations: 92.05 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/1.182, allocations: 23.73 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/1.182, allocations: 37.7 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.182, allocations: 318.8 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/1.182, allocations: 59.91 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/1.182, allocations: 84.25 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/1.183, allocations: 145.9 kB / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.183, allocations: 0 / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004388/1.183, allocations: 211.1 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/1.183, allocations: 33.69 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.183, allocations: 4.125 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.183, allocations: 4 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/1.183, allocations: 11.98 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.183, allocations: 4.312 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/1.184, allocations: 35.95 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/1.184, allocations: 7.938 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.184, allocations: 129.7 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/1.184, allocations: 7.906 kB / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/1.184, allocations: 12.36 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.184, allocations: 4 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.184, allocations: 0 / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.184, allocations: 0 / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/1.184, allocations: 374.4 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/1.184, allocations: 0 / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/1.184, allocations: 27.86 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.184, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/1.184, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.184, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/1.184, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/1.185, allocations: 211.3 kB / 1.213 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/1.185, allocations: 81.02 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/1.185, allocations: 12.06 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/1.185, allocations: 7.984 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/1.185, allocations: 11.92 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/1.185, allocations: 4 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.604e-05/1.185, allocations: 95.75 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.553e-06/1.185, allocations: 0 / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002572/1.185, allocations: 31.94 kB / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/1.185, allocations: 111.2 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003698/1.186, allocations: 175.3 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.186, allocations: 0 / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/1.186, allocations: 35.97 kB / 1.214 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/1.186, allocations: 17.27 kB / 1.214 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/1.187, allocations: 170.4 kB / 1.214 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/1.187, allocations: 0.6885 MB / 1.215 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.099e-05/1.187, allocations: 4 kB / 1.215 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/1.187, allocations: 11.44 kB / 1.215 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.187, allocations: 0 / 1.215 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of Templates: time 0.004008/1.191, allocations: 1.453 MB / 1.216 GB, free: 4.438 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches