Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.2 kB / 0.8699 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6421/0.9505, allocations: 162.4 MB / 1.177 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.9557, allocations: 2.908 MB / 1.179 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.9564, allocations: 19.16 kB / 1.179 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.9573, allocations: 210 kB / 1.18 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.9596, allocations: 0.7668 MB / 1.18 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009371/0.9605, allocations: 342.6 kB / 1.181 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.9621, allocations: 0.9435 MB / 1.182 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.9626, allocations: 247.8 kB / 1.182 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007292/0.9633, allocations: 336.6 kB / 1.182 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009035/0.9642, allocations: 292.7 kB / 1.182 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.9643, allocations: 33.16 kB / 1.182 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.9658, allocations: 0.6474 MB / 1.183 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.966, allocations: 132.8 kB / 1.183 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.9663, allocations: 210.6 kB / 1.183 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.9677, allocations: 0.7417 MB / 1.184 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9677, allocations: 0 / 1.184 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9677, allocations: 0 / 1.184 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.9677, allocations: 0 / 1.184 GB, free: 6.461 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001342/0.9691, allocations: 0.7074 MB / 1.185 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.9691, allocations: 10.2 kB / 1.185 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.9702, allocations: 143.1 kB / 1.185 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.9709, allocations: 404.1 kB / 1.185 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.9709, allocations: 17.84 kB / 1.185 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.971, allocations: 28.38 kB / 1.185 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.9715, allocations: 278.8 kB / 1.186 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.9715, allocations: 7.984 kB / 1.186 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.9716, allocations: 7.25 kB / 1.186 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.9716, allocations: 12.44 kB / 1.186 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.972, allocations: 198.7 kB / 1.186 GB, free: 5.105 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.9739, allocations: 1.327 MB / 1.187 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.9743, allocations: 190.8 kB / 1.187 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.9745, allocations: 88.02 kB / 1.187 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.9745, allocations: 6.875 kB / 1.187 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.9745, allocations: 31.72 kB / 1.188 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.9745, allocations: 0 / 1.188 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.001061/0.9756, allocations: 411.1 kB / 1.188 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.9757, allocations: 53.75 kB / 1.188 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.976, allocations: 303 kB / 1.188 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.9761, allocations: 31.11 kB / 1.188 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.9763, allocations: 189.6 kB / 1.188 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.9763, allocations: 76.34 kB / 1.189 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.9764, allocations: 36.75 kB / 1.189 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.9766, allocations: 342 kB / 1.189 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.9768, allocations: 69.5 kB / 1.189 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.9769, allocations: 119.3 kB / 1.189 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.9772, allocations: 199.5 kB / 1.189 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9772, allocations: 0 / 1.189 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003807/0.9776, allocations: 246.3 kB / 1.19 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.9776, allocations: 7.188 kB / 1.19 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9776, allocations: 12.06 kB / 1.19 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9777, allocations: 3.312 kB / 1.19 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.9779, allocations: 48.45 kB / 1.19 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.9779, allocations: 5.172 kB / 1.19 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.9782, allocations: 12.44 kB / 1.19 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.9782, allocations: 10.75 kB / 1.19 GB, free: 2.039 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001878/0.9784, allocations: 158.8 kB / 1.19 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.9785, allocations: 30.69 kB / 1.19 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.495e-05/0.9786, allocations: 47.92 kB / 1.19 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9786, allocations: 2.531 kB / 1.19 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9786, allocations: 0 / 1.19 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9786, allocations: 2.562 kB / 1.19 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.9792, allocations: 406.1 kB / 1.19 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.9792, allocations: 0 / 1.19 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.9794, allocations: 42.14 kB / 1.19 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.9797, allocations: 39.8 kB / 1.19 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.9797, allocations: 9.344 kB / 1.19 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.9812, allocations: 1.517 MB / 1.192 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9812, allocations: 2.312 kB / 1.192 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.9818, allocations: 399.5 kB / 1.192 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.982, allocations: 125.6 kB / 1.192 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.982, allocations: 6.906 kB / 1.192 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.9823, allocations: 16.31 kB / 1.192 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.9823, allocations: 8.328 kB / 1.192 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.9823, allocations: 9.062 kB / 1.192 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002222/0.9826, allocations: 218 kB / 1.193 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9826, allocations: 0 / 1.193 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004292/0.983, allocations: 106.5 kB / 1.193 GB, free: 15.32 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002143/0.9832, allocations: 116.6 kB / 1.193 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.9836, allocations: 178.9 kB / 1.193 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9836, allocations: 1.344 kB / 1.193 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.9839, allocations: 196.2 kB / 1.193 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.9849, allocations: 205.1 kB / 1.193 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.9862, allocations: 0.7699 MB / 1.194 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.9867, allocations: 0.7992 MB / 1.195 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.9867, allocations: 28.38 kB / 1.195 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of SimCode: time 4.2e-07/0.9868, allocations: 4 kB / 1.195 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.009409/0.9962, allocations: 5.72 MB / 1.2 GB, free: 10.59 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches