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.00145/0.00145, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.521/1.521, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.688/2.688, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 59.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6227, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2027/0.8254, allocations: 162.4 MB / 1.176 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005243/0.8307, allocations: 2.915 MB / 1.179 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006349/0.8314, allocations: 15.88 kB / 1.179 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007828/0.8322, allocations: 206.8 kB / 1.179 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.8344, allocations: 0.7816 MB / 1.18 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009433/0.8354, allocations: 338.7 kB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.8367, allocations: 0.9369 MB / 1.181 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.8371, allocations: 251 kB / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006079/0.8377, allocations: 342.5 kB / 1.182 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009299/0.8386, allocations: 284.4 kB / 1.182 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.8387, allocations: 36 kB / 1.182 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.84, allocations: 0.643 MB / 1.182 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.8402, allocations: 127.6 kB / 1.183 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.8405, allocations: 215 kB / 1.183 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.8416, allocations: 0.7363 MB / 1.183 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8416, allocations: 3.938 kB / 1.183 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8416, allocations: 4 kB / 1.183 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.8417, allocations: 0 / 1.183 GB, free: 7.637 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001242/0.8429, allocations: 0.7103 MB / 1.184 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.8429, allocations: 8.031 kB / 1.184 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.844, allocations: 143.3 kB / 1.184 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/0.8446, allocations: 398.4 kB / 1.185 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.8446, allocations: 20.56 kB / 1.185 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.8447, allocations: 27.91 kB / 1.185 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.8452, allocations: 279.7 kB / 1.185 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.8452, allocations: 3.938 kB / 1.185 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.8453, allocations: 12 kB / 1.185 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.8453, allocations: 8.562 kB / 1.185 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.8457, allocations: 198.1 kB / 1.185 GB, free: 5.75 MB / 0.9356 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.001903/0.8476, allocations: 1.33 MB / 1.187 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.848, allocations: 191.8 kB / 1.187 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.8482, allocations: 96.7 kB / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.8482, allocations: 0 / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.8482, allocations: 38.56 kB / 1.187 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.012e-06/0.8482, allocations: 0 / 1.187 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001021/0.8492, allocations: 408.8 kB / 1.187 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.8493, allocations: 55.41 kB / 1.187 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.8496, allocations: 296.6 kB / 1.188 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.8497, allocations: 33.7 kB / 1.188 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.8498, allocations: 192 kB / 1.188 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/0.8499, allocations: 70.94 kB / 1.188 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.85, allocations: 45.72 kB / 1.188 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.8502, allocations: 342.8 kB / 1.188 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.8503, allocations: 63.97 kB / 1.188 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.8505, allocations: 111.7 kB / 1.188 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.8507, allocations: 199.4 kB / 1.189 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8508, allocations: 0 / 1.189 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003962/0.8512, allocations: 251.4 kB / 1.189 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.8512, allocations: 11.94 kB / 1.189 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8512, allocations: 0 / 1.189 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.8512, allocations: 4 kB / 1.189 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.8514, allocations: 51.91 kB / 1.189 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8514, allocations: 0 / 1.189 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.8517, allocations: 19.78 kB / 1.189 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.8518, allocations: 8 kB / 1.189 GB, free: 1.699 MB / 0.9356 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.0001756/0.8519, allocations: 165.9 kB / 1.189 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.852, allocations: 39.55 kB / 1.189 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.8521, allocations: 35.08 kB / 1.189 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.8521, allocations: 4 kB / 1.189 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8521, allocations: 0 / 1.189 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8521, allocations: 0 / 1.189 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.8527, allocations: 409.2 kB / 1.19 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.8527, allocations: 0 / 1.19 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.8529, allocations: 35.92 kB / 1.19 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.8531, allocations: 52.77 kB / 1.19 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.8531, allocations: 4 kB / 1.19 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.8545, allocations: 1.511 MB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8545, allocations: 0 / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.8551, allocations: 399.8 kB / 1.191 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.8553, allocations: 124.8 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.8553, allocations: 16.17 kB / 1.192 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.8556, allocations: 4 kB / 1.192 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.8556, allocations: 15.97 kB / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.8557, allocations: 11.92 kB / 1.192 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002312/0.8559, allocations: 219.1 kB / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8559, allocations: 0 / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004047/0.8563, allocations: 107.8 kB / 1.192 GB, free: 14.34 MB / 0.9512 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.0001859/0.8565, allocations: 119.2 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.8569, allocations: 177.7 kB / 1.192 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8569, allocations: 384 / 1.192 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.8572, allocations: 206.6 kB / 1.192 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009893/0.8582, allocations: 187.6 kB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.8595, allocations: 0.7353 MB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.8599, allocations: 0.7999 MB / 1.194 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.8602, allocations: 59.25 kB / 1.194 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.8602, allocations: 31.38 kB / 1.194 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.8603, allocations: 3.938 kB / 1.194 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.01421/0.8745, allocations: 6.08 MB / 1.2 GB, free: 6.008 MB / 0.9512 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches