Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001753/0.001753, 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.002124/0.002124, allocations: 167.5 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.848/2.848, allocations: 377.8 MB / 0.6221 GB, free: 12.64 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.208e-06/4.208e-06, allocations: 4 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.771e-05, allocations: 6.219 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001952/0.00198, allocations: 0.795 MB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.003672, allocations: 1.182 MB / 0.9834 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.003732, allocations: 0 / 0.9834 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.003769, allocations: 3.938 kB / 0.9834 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.538e-05/0.003854, allocations: 15.81 kB / 0.9834 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.004378, allocations: 151.7 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.004602, allocations: 147.7 kB / 0.9837 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.004711, allocations: 19.98 kB / 0.9837 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.004865, allocations: 79.88 kB / 0.9838 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.00498, allocations: 51.86 kB / 0.9838 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.005017, allocations: 12 kB / 0.9838 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.27e-05/0.00509, allocations: 23.98 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.005133, allocations: 23.91 kB / 0.9839 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.799e-05/0.005221, allocations: 43.91 kB / 0.9839 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.005485, allocations: 167.5 kB / 0.9841 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005487, allocations: 4 kB / 0.9841 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.11e-07/0.005488, allocations: 0 / 0.9841 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.005492, allocations: 4 kB / 0.9841 GB, free: 9.289 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006646/0.006157, allocations: 359.7 kB / 0.9844 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.006192, allocations: 8.031 kB / 0.9844 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.006253, allocations: 12.89 kB / 0.9844 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.006373, allocations: 117.6 kB / 0.9845 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.006399, allocations: 16.3 kB / 0.9846 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.006427, allocations: 8.375 kB / 0.9846 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.00667, allocations: 82.22 kB / 0.9846 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006678, allocations: 4.188 kB / 0.9847 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.006689, allocations: 384 / 0.9847 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006696, allocations: 4.375 kB / 0.9847 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.006941, allocations: 59.88 kB / 0.9847 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.00748, allocations: 304.2 kB / 0.985 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.007655, allocations: 50.55 kB / 0.9851 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.007767, allocations: 32.94 kB / 0.9851 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.00778, allocations: 0 / 0.9851 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.008029, allocations: 91.25 kB / 0.9852 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.00803, allocations: 0 / 0.9852 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004611/0.008491, allocations: 125.6 kB / 0.9853 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.008548, allocations: 51.41 kB / 0.9853 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.008662, allocations: 129.7 kB / 0.9855 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.008698, allocations: 37.7 kB / 0.9855 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.008778, allocations: 92.09 kB / 0.9856 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.008805, allocations: 23.88 kB / 0.9856 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/0.008889, allocations: 33.7 kB / 0.9856 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.009042, allocations: 322.8 kB / 0.986 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.009246, allocations: 85.55 kB / 0.986 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.009488, allocations: 134.8 kB / 0.9862 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.009775, allocations: 120.2 kB / 0.9863 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.009779, allocations: 4 kB / 0.9863 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000498/0.01028, allocations: 220.9 kB / 0.9865 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.01032, allocations: 40.19 kB / 0.9865 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01032, allocations: 0 / 0.9865 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01034, allocations: 4 kB / 0.9865 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.01043, allocations: 12.05 kB / 0.9865 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01043, allocations: 4 kB / 0.9865 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.01068, allocations: 43.83 kB / 0.9866 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.01071, allocations: 8 kB / 0.9866 GB, free: 6.457 MB / 0.9356 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.0001162/0.01082, allocations: 125.8 kB / 0.9867 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.01084, allocations: 3.953 kB / 0.9867 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.01088, allocations: 12.44 kB / 0.9867 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01088, allocations: 4 kB / 0.9867 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01088, allocations: 0 / 0.9867 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01088, allocations: 0 / 0.9867 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.01102, allocations: 129.2 kB / 0.9869 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01102, allocations: 4 kB / 0.9869 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.01109, allocations: 11.92 kB / 0.9869 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01109, allocations: 0 / 0.9869 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.0111, allocations: 3.984 kB / 0.9869 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.0111, allocations: 320 / 0.9869 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01111, allocations: 4 kB / 0.9869 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.01142, allocations: 133 kB / 0.987 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.01143, allocations: 7.953 kB / 0.987 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.01145, allocations: 0 / 0.987 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.01153, allocations: 15.98 kB / 0.987 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.01158, allocations: 7.984 kB / 0.987 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.01159, allocations: 3.984 kB / 0.987 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.664e-05/0.01165, allocations: 99.7 kB / 0.9871 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01165, allocations: 0 / 0.9871 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002374/0.01189, allocations: 23.94 kB / 0.9872 GB, free: 5.82 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: 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.0001534/0.01204, allocations: 111.3 kB / 0.9873 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.01247, allocations: 185 kB / 0.9874 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01248, allocations: 0 / 0.9874 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.01261, allocations: 39.91 kB / 0.9875 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.01283, allocations: 20.39 kB / 0.9875 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.01324, allocations: 169.3 kB / 0.9877 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.269e-05/0.01331, allocations: 75.58 kB / 0.9877 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.01334, allocations: 4 kB / 0.9877 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.01338, allocations: 16.44 kB / 0.9878 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01338, allocations: 0 / 0.9878 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of Templates: time 0.00506/0.01844, allocations: 1.786 MB / 0.9895 GB, free: 3.387 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.850893475115299]