Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001655/0.001655, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001566/0.001566, allocations: 166.7 kB / 22.46 MB, free: 5.359 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.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.832/2.832, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.556e-06/3.556e-06, allocations: 3.938 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.696e-05/5.051e-05, allocations: 5.094 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00252/0.00257, allocations: 0.7403 MB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.004815, allocations: 1.167 MB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.004879, allocations: 0 / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.004917, allocations: 3.938 kB / 0.9529 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.282e-05/0.00501, allocations: 23.86 kB / 0.9529 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.005537, allocations: 138.9 kB / 0.953 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.005737, allocations: 119.7 kB / 0.9531 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.005839, allocations: 11.98 kB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.005968, allocations: 63.89 kB / 0.9532 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.00607, allocations: 43.86 kB / 0.9532 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.006108, allocations: 12 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.00618, allocations: 16 kB / 0.9533 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.006206, allocations: 11.98 kB / 0.9533 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.006276, allocations: 43.89 kB / 0.9533 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.006495, allocations: 131.6 kB / 0.9534 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.006498, allocations: 0 / 0.9534 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006499, allocations: 0 / 0.9534 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.006508, allocations: 7.938 kB / 0.9534 GB, free: 9.051 MB / 0.8575 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.0006334/0.007142, allocations: 335.8 kB / 0.9538 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.007181, allocations: 8.031 kB / 0.9538 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.007239, allocations: 12.89 kB / 0.9538 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.007358, allocations: 113.7 kB / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.007374, allocations: 8.375 kB / 0.9539 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.007404, allocations: 12.36 kB / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.007605, allocations: 62.23 kB / 0.954 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.007615, allocations: 192 / 0.954 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.007628, allocations: 4.359 kB / 0.954 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.007634, allocations: 4.375 kB / 0.954 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.007836, allocations: 51.83 kB / 0.954 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.008308, allocations: 252.5 kB / 0.9543 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.008532, allocations: 62.61 kB / 0.9543 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.008647, allocations: 32.89 kB / 0.9544 GB, free: 8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.008668, allocations: 7.938 kB / 0.9544 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.008935, allocations: 91.23 kB / 0.9545 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.953e-06/0.008937, allocations: 0 / 0.9545 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005167/0.009453, allocations: 145.6 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.009507, allocations: 55.34 kB / 0.9547 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.00964, allocations: 125.7 kB / 0.9548 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.009676, allocations: 29.7 kB / 0.9548 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.009757, allocations: 100.2 kB / 0.9549 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.009791, allocations: 15.83 kB / 0.9549 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.009878, allocations: 41.69 kB / 0.955 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.01003, allocations: 318.8 kB / 0.9553 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.01023, allocations: 81.66 kB / 0.9553 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.01046, allocations: 126 kB / 0.9555 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.01079, allocations: 142.2 kB / 0.9556 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01079, allocations: 0 / 0.9556 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005094/0.0113, allocations: 248.8 kB / 0.9558 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.01135, allocations: 37.7 kB / 0.9559 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.01136, allocations: 3.984 kB / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.01138, allocations: 0 / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.01148, allocations: 8 kB / 0.9559 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.01149, allocations: 7.984 kB / 0.9559 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.0117, allocations: 27.97 kB / 0.9559 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.01173, allocations: 24.17 kB / 0.9559 GB, free: 6.258 MB / 0.8575 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.0001392/0.01187, allocations: 119.8 kB / 0.956 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.01189, allocations: 11.89 kB / 0.9561 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.01193, allocations: 12.44 kB / 0.9561 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01193, allocations: 0 / 0.9561 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.01194, allocations: 0 / 0.9561 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01194, allocations: 0 / 0.9561 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.01246, allocations: 326 kB / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.01247, allocations: 7.984 kB / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.01252, allocations: 8 kB / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01252, allocations: 0 / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.01253, allocations: 0 / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01254, allocations: 3.984 kB / 0.9564 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.01254, allocations: 4 kB / 0.9564 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.01287, allocations: 207.4 kB / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.01288, allocations: 11.89 kB / 0.9566 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01291, allocations: 8 kB / 0.9566 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.01299, allocations: 11.92 kB / 0.9566 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.01305, allocations: 7.984 kB / 0.9566 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.01305, allocations: 0 / 0.9566 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.01312, allocations: 95.22 kB / 0.9567 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01312, allocations: 0 / 0.9567 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000264/0.01338, allocations: 27.98 kB / 0.9568 GB, free: 5.352 MB / 0.8575 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.0001804/0.01356, allocations: 95.25 kB / 0.9568 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.014, allocations: 197 kB / 0.957 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.014, allocations: 0 / 0.957 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.01413, allocations: 35.97 kB / 0.9571 GB, free: 5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.01442, allocations: 21.89 kB / 0.9571 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.01483, allocations: 161.2 kB / 0.9572 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.986e-05/0.01491, allocations: 79.56 kB / 0.9573 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.01494, allocations: 4 kB / 0.9573 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.01497, allocations: 12.5 kB / 0.9573 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.01497, allocations: 0 / 0.9573 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of Templates: time 0.005077/0.02005, allocations: 1.574 MB / 0.9589 GB, free: 3.145 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.291213870048523]