Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 104.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002274/0.002274, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.425/3.425, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 75.25 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4606, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002535/0.4632, allocations: 0.7505 MB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.4651, allocations: 1.182 MB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.4652, allocations: 0 / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.4652, allocations: 3.938 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.4654, allocations: 15.86 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007505/0.4661, allocations: 126.5 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.4664, allocations: 127.8 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.4666, allocations: 8 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.4667, allocations: 51.89 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.4669, allocations: 47.81 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.4669, allocations: 12 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.467, allocations: 27.92 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.467, allocations: 15.92 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.4671, allocations: 39.84 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.4674, allocations: 115.6 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4674, allocations: 0 / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4674, allocations: 0 / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.4674, allocations: 4 kB / 1.324 GB, free: 288 kB / 1.014 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.0009383/0.4684, allocations: 412.9 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.4684, allocations: 11.98 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.4685, allocations: 12.83 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.4687, allocations: 184.2 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.4687, allocations: 4.375 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.4687, allocations: 12.31 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.469, allocations: 70.22 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.469, allocations: 192 / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.469, allocations: 3.938 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.469, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.4693, allocations: 43.95 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.4699, allocations: 344.6 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.4701, allocations: 62.61 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.4702, allocations: 28.95 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.4703, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.4705, allocations: 95.28 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/0.4705, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005202/0.471, allocations: 137.6 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.4711, allocations: 59.41 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.4712, allocations: 117.8 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.4712, allocations: 33.69 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.4713, allocations: 92.09 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.4713, allocations: 19.84 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.4714, allocations: 41.69 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4716, allocations: 322.8 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.4718, allocations: 51.95 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.472, allocations: 89.94 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.4723, allocations: 137.9 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.4723, allocations: 4 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005426/0.4729, allocations: 211.2 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.4729, allocations: 37.7 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4729, allocations: 7.984 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4729, allocations: 0 / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.473, allocations: 11.94 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4731, allocations: 7.984 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.4733, allocations: 32.09 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.4733, allocations: 11.98 kB / 1.326 GB, free: 13.34 MB / 1.029 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.0001296/0.4734, allocations: 125.8 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.4735, allocations: 7.953 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.4735, allocations: 8.375 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4735, allocations: 0 / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.4735, allocations: 4 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4735, allocations: 3.938 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.4741, allocations: 382.4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4741, allocations: 3.938 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.4742, allocations: 11.98 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4742, allocations: 0 / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4742, allocations: 0 / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4742, allocations: 3.938 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4742, allocations: 0 / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.4745, allocations: 215.4 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.4746, allocations: 85.05 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.4746, allocations: 64 / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.4747, allocations: 12 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.4748, allocations: 11.92 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4748, allocations: 4 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.96e-05/0.4749, allocations: 95.27 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4749, allocations: 0 / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002799/0.4751, allocations: 24 kB / 1.327 GB, free: 12.26 MB / 1.029 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.0002353/0.4754, allocations: 107.2 kB / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.4758, allocations: 163.3 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4758, allocations: 256 / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.476, allocations: 36.45 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.4763, allocations: 15.98 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.4768, allocations: 166.4 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.4771, allocations: 0.6962 MB / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.4772, allocations: 8 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.4772, allocations: 19.42 kB / 1.328 GB, free: 10.98 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4772, allocations: 0 / 1.328 GB, free: 10.98 MB / 1.029 GB Notification: Performance of Templates: time 0.005428/0.4826, allocations: 1.456 MB / 1.33 GB, free: 9.543 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.636232000775635]