Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.0009884/0.0009884, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009562/0.0009562, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9141/0.9141, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.7/1.7, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.986e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001696/0.001726, allocations: 0.723 MB / 0.9524 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.002966, allocations: 1.276 MB / 0.9537 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.003017, allocations: 0 / 0.9537 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.003048, allocations: 7.875 kB / 0.9537 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.003124, allocations: 27.78 kB / 0.9537 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.003644, allocations: 248.7 kB / 0.954 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.00386, allocations: 255.5 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003962, allocations: 12.17 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.004097, allocations: 143.9 kB / 0.9544 GB, free: 272 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.004214, allocations: 75.81 kB / 0.9544 GB, free: 196 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.004246, allocations: 24 kB / 0.9544 GB, free: 172 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.004315, allocations: 39.97 kB / 0.9545 GB, free: 132 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.004354, allocations: 35.89 kB / 0.9545 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.004427, allocations: 71.88 kB / 0.9546 GB, free: 24 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.004682, allocations: 267.3 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004685, allocations: 0 / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.252e-06/0.004687, allocations: 4 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.004692, allocations: 0 / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005298/0.005221, allocations: 429.1 kB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.005258, allocations: 16.03 kB / 0.9553 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.005324, allocations: 20.88 kB / 0.9553 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.005686, allocations: 186.4 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.00571, allocations: 12.36 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.005738, allocations: 20.38 kB / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.00592, allocations: 140.8 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.005928, allocations: 192 / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.005942, allocations: 4.375 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.005948, allocations: 8.125 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.006042, allocations: 63.94 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.006531, allocations: 424.5 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.006726, allocations: 137.1 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.345e-05/0.006789, allocations: 61.72 kB / 0.9563 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.006799, allocations: 0 / 0.9563 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.007074, allocations: 210.7 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.007075, allocations: 0 / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22): time 0.0004146/0.007489, allocations: 320 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.007534, allocations: 85.25 kB / 0.9569 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.007608, allocations: 126.1 kB / 0.957 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.007638, allocations: 41.7 kB / 0.9571 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.007692, allocations: 104.6 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.007727, allocations: 51.62 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.007806, allocations: 73.69 kB / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.007892, allocations: 334.8 kB / 0.9576 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.008038, allocations: 139.6 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.008201, allocations: 219.6 kB / 0.9579 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.008408, allocations: 255 kB / 0.9582 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.00841, allocations: 4 kB / 0.9582 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000374/0.008784, allocations: 420.1 kB / 0.9586 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.008827, allocations: 65.89 kB / 0.9586 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.008833, allocations: 4 kB / 0.9586 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.008847, allocations: 4 kB / 0.9586 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.008918, allocations: 24.14 kB / 0.9587 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.008924, allocations: 4 kB / 0.9587 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.009101, allocations: 67.83 kB / 0.9587 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.00933, allocations: 15.98 kB / 0.9588 GB, free: 11.41 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 9.675e-05/0.009427, allocations: 151.6 kB / 0.9589 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.009445, allocations: 23.84 kB / 0.9589 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.009479, allocations: 12.44 kB / 0.9589 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.009483, allocations: 4 kB / 0.9589 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.009489, allocations: 0 / 0.9589 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.009495, allocations: 3.984 kB / 0.9589 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.009896, allocations: 0.552 MB / 0.9595 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009897, allocations: 0 / 0.9595 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.009924, allocations: 8 kB / 0.9595 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009926, allocations: 3.938 kB / 0.9595 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.009939, allocations: 11.98 kB / 0.9595 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.009942, allocations: 0 / 0.9595 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.009943, allocations: 4 kB / 0.9595 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.01022, allocations: 430.5 kB / 0.9599 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.01023, allocations: 11.95 kB / 0.9599 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01026, allocations: 11.98 kB / 0.9599 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.01034, allocations: 11.98 kB / 0.96 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.01039, allocations: 24.05 kB / 0.96 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.0104, allocations: 19.92 kB / 0.96 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.01044, allocations: 99.2 kB / 0.9601 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01044, allocations: 0 / 0.9601 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002425/0.01069, allocations: 63.83 kB / 0.9602 GB, free: 9.914 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000149/0.01083, allocations: 117.1 kB / 0.9603 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.01119, allocations: 380.8 kB / 0.9606 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01119, allocations: 0 / 0.9606 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.01129, allocations: 83.84 kB / 0.9607 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01157, allocations: 32.62 kB / 0.9607 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.012, allocations: 307.8 kB / 0.961 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.711e-05/0.01206, allocations: 92.95 kB / 0.9611 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.0121, allocations: 20.5 kB / 0.9611 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of SimCode: time 8.91e-07/0.01211, allocations: 0 / 0.9611 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of Templates: time 0.002943/0.01505, allocations: 2.3 MB / 0.9634 GB, free: 6.516 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time [Calling sys.exit(0), Time elapsed: 6.505563487298787]