Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.002627/0.002627, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.003214/0.003214, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.412/3.412, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.346e-05, allocations: 9.203 kB / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002798/0.002832, allocations: 0.8214 MB / 0.8782 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.005553, allocations: 1.181 MB / 0.8794 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.005615, allocations: 0 / 0.8794 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.928e-05/0.005654, allocations: 7.875 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.005769, allocations: 19.58 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.006401, allocations: 139.6 kB / 0.8796 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.006708, allocations: 148.2 kB / 0.8797 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.006844, allocations: 21.61 kB / 0.8797 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.007048, allocations: 83.86 kB / 0.8798 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.007205, allocations: 43.86 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.007255, allocations: 16 kB / 0.8799 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.007353, allocations: 24.56 kB / 0.8799 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.007396, allocations: 19.92 kB / 0.8799 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.007502, allocations: 45.23 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.007866, allocations: 175.5 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.00787, allocations: 0 / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007871, allocations: 0.6562 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.007876, allocations: 0 / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008827/0.008759, allocations: 458.3 kB / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.008804, allocations: 13.62 kB / 0.8806 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.77e-05/0.008892, allocations: 12.89 kB / 0.8806 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.009061, allocations: 120.5 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.009083, allocations: 4.375 kB / 0.8807 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.009119, allocations: 14.06 kB / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.009379, allocations: 86.16 kB / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.009389, allocations: 192 / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.009402, allocations: 384 / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.009407, allocations: 384 / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.009627, allocations: 54.78 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.01038, allocations: 363.5 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.01057, allocations: 55.05 kB / 0.8812 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.01068, allocations: 27.77 kB / 0.8813 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.0107, allocations: 0.7188 kB / 0.8813 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.01094, allocations: 88.97 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.01095, allocations: 1.344 kB / 0.8814 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0005009/0.01145, allocations: 113.6 kB / 0.8815 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.0115, allocations: 55.41 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.01173, allocations: 201.8 kB / 0.8817 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.01178, allocations: 29.7 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.01193, allocations: 154.8 kB / 0.8819 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.01196, allocations: 11.91 kB / 0.8819 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.01209, allocations: 47.36 kB / 0.8819 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003282/0.01242, allocations: 0.4961 MB / 0.8824 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.01267, allocations: 85.67 kB / 0.8825 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.01295, allocations: 150.1 kB / 0.8826 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.01319, allocations: 120.8 kB / 0.8828 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.01319, allocations: 0 / 0.8828 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004735/0.01367, allocations: 236.9 kB / 0.883 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.01371, allocations: 33.7 kB / 0.883 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.01372, allocations: 4.312 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01374, allocations: 0 / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.01383, allocations: 11.98 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01383, allocations: 0 / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.01401, allocations: 35.97 kB / 0.8831 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.01404, allocations: 8 kB / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001423/0.01418, allocations: 168.5 kB / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.0142, allocations: 11.94 kB / 0.8832 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.01424, allocations: 16.42 kB / 0.8833 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01425, allocations: 0 / 0.8833 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01425, allocations: 0 / 0.8833 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01425, allocations: 0 / 0.8833 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.01443, allocations: 156.5 kB / 0.8834 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01444, allocations: 0 / 0.8834 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.01448, allocations: 7.938 kB / 0.8834 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01448, allocations: 4 kB / 0.8834 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01449, allocations: 0 / 0.8834 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.0145, allocations: 0 / 0.8834 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.0145, allocations: 0 / 0.8834 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.01477, allocations: 132.3 kB / 0.8836 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.01478, allocations: 4 kB / 0.8836 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.0148, allocations: 0 / 0.8836 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.392e-05/0.01486, allocations: 11.98 kB / 0.8836 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.01492, allocations: 15.92 kB / 0.8836 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.01493, allocations: 4 kB / 0.8836 GB, free: 80 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000116/0.01504, allocations: 143.2 kB / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01504, allocations: 0 / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000231/0.01527, allocations: 27.89 kB / 0.8837 GB, free: 15.91 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000172/0.01545, allocations: 107.2 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.01588, allocations: 208.7 kB / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01588, allocations: 4.125 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.01601, allocations: 43.61 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.01623, allocations: 21.06 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.01671, allocations: 186.4 kB / 0.8843 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.897e-05/0.01679, allocations: 72.02 kB / 0.8844 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.01683, allocations: 8 kB / 0.8844 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.01687, allocations: 16.48 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.01688, allocations: 0 / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.00585/0.02273, allocations: 1.787 MB / 0.8861 GB, free: 13.43 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.559964761021547]