Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001647/0.001647, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001831/0.001831, allocations: 220 kB / 23.04 MB, free: 4.844 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.094/3.094, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [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.001984/0.001984, allocations: 65.67 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.411, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002381/0.4134, allocations: 0.8857 MB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.4147, allocations: 0.925 MB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.4147, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.254e-05/0.4148, allocations: 15.86 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.4149, allocations: 19.75 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.4151, allocations: 51.88 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.4153, allocations: 127.6 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.4155, allocations: 29.72 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.4158, allocations: 59.83 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.4159, allocations: 51.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.4159, allocations: 12 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-05/0.416, allocations: 16 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.416, allocations: 35.91 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.4161, allocations: 39.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.4163, allocations: 167.2 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4163, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4163, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.4163, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006538/0.417, allocations: 361.7 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.417, allocations: 8.031 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.4173, allocations: 36.86 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.4176, allocations: 155 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4176, allocations: 8.375 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.4176, allocations: 20.06 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.4179, allocations: 102.8 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4179, allocations: 3.984 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4179, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4179, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.4181, allocations: 75.95 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.4187, allocations: 308.2 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.419, allocations: 78.61 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.4191, allocations: 40.83 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.4191, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4191, allocations: 34.56 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.4191, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003895/0.4195, allocations: 129.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4196, allocations: 55.41 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.4197, allocations: 141.4 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4197, allocations: 33.69 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.4198, allocations: 115.9 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.4198, allocations: 23.8 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.4199, allocations: 29.7 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.42, allocations: 326.8 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.4201, allocations: 27.98 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.4203, allocations: 106 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.4204, allocations: 56.78 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4204, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002372/0.4207, allocations: 113.5 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4207, allocations: 8.031 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4207, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4207, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.4208, allocations: 15.98 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.4208, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.4209, allocations: 7.984 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4209, allocations: 4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001097/0.421, allocations: 118.4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.421, allocations: 15.84 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.4211, allocations: 24.7 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4211, allocations: 3.938 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4211, allocations: 288 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4211, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.4213, allocations: 141.3 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.4213, allocations: 7.938 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.4213, allocations: 11.94 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4213, allocations: 3.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4214, allocations: 7.984 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4214, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4214, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.4216, allocations: 195.8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.4217, allocations: 7.953 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.4217, allocations: 15.92 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4218, allocations: 7.984 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.4219, allocations: 11.97 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.4219, allocations: 4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.016e-05/0.422, allocations: 111.2 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.422, allocations: 0 / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002342/0.4222, allocations: 23.89 kB / 1.333 GB, free: 11.14 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001353/0.4223, allocations: 107.2 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.4226, allocations: 67.95 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4226, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.4227, allocations: 35.92 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.423, allocations: 13.48 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.4235, allocations: 249.8 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.259e-05/0.4236, allocations: 89.05 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.4237, allocations: 19.42 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4237, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of Templates: time 0.003286/0.427, allocations: 1.375 MB / 1.334 GB, free: 9.141 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 11.09248341084458]