Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001105/0.001105, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001558/0.001558, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.953/2.953, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005609/0.0005611, allocations: 7.219 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4338, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1837/0.6176, allocations: 147.5 MB / 1.202 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.6225, allocations: 2.736 MB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006161/0.6232, allocations: 11.94 kB / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000707/0.6239, allocations: 143.1 kB / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.6258, allocations: 0.5753 MB / 1.205 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.6266, allocations: 229.5 kB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.6278, allocations: 1.052 MB / 1.207 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.6281, allocations: 189.6 kB / 1.207 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004706/0.6286, allocations: 282.8 kB / 1.207 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.6291, allocations: 262.9 kB / 1.207 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.6291, allocations: 12 kB / 1.207 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008945/0.63, allocations: 319.2 kB / 1.208 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.6302, allocations: 111.6 kB / 1.208 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.6303, allocations: 97.52 kB / 1.208 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005995/0.6309, allocations: 0.4988 MB / 1.208 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6309, allocations: 0 / 1.208 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6309, allocations: 0 / 1.208 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.6309, allocations: 4 kB / 1.208 GB, free: 10.93 MB / 0.9669 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.001042/0.632, allocations: 0.652 MB / 1.209 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.632, allocations: 12.03 kB / 1.209 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009657/0.633, allocations: 131.4 kB / 1.209 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.6336, allocations: 386.7 kB / 1.209 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.6336, allocations: 24.5 kB / 1.21 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.6337, allocations: 24 kB / 1.21 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.6342, allocations: 279.7 kB / 1.21 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6342, allocations: 0 / 1.21 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.6343, allocations: 15.95 kB / 1.21 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.6343, allocations: 8.562 kB / 1.21 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.6347, allocations: 198.1 kB / 1.21 GB, free: 9.125 MB / 0.9669 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.001777/0.6364, allocations: 1.326 MB / 1.211 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.6369, allocations: 182.9 kB / 1.211 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.637, allocations: 88.83 kB / 1.212 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.637, allocations: 8.344 kB / 1.212 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6371, allocations: 42.45 kB / 1.212 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.492e-06/0.6371, allocations: 0 / 1.212 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.0009048/0.638, allocations: 396.7 kB / 1.212 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.638, allocations: 55.39 kB / 1.212 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.6384, allocations: 300.5 kB / 1.212 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.6384, allocations: 37.64 kB / 1.212 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.6386, allocations: 188.1 kB / 1.213 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.6386, allocations: 70.94 kB / 1.213 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.6386, allocations: 8 kB / 1.213 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6388, allocations: 338.8 kB / 1.213 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.639, allocations: 63.97 kB / 1.213 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.6391, allocations: 108 kB / 1.213 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.6392, allocations: 87.94 kB / 1.213 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6393, allocations: 3.938 kB / 1.213 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003703/0.6396, allocations: 246.2 kB / 1.213 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6397, allocations: 4 kB / 1.213 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6397, allocations: 4 kB / 1.213 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6397, allocations: 0 / 1.213 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.6399, allocations: 47.91 kB / 1.213 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.6399, allocations: 12.17 kB / 1.214 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.6402, allocations: 23.75 kB / 1.214 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.6402, allocations: 12 kB / 1.214 GB, free: 5.27 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.6404, allocations: 161.7 kB / 1.214 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.6405, allocations: 27.72 kB / 1.214 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.6406, allocations: 39.08 kB / 1.214 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6406, allocations: 4 kB / 1.214 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6406, allocations: 4 kB / 1.214 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6406, allocations: 3.984 kB / 1.214 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.6411, allocations: 413.2 kB / 1.214 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.6412, allocations: 0 / 1.214 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.6413, allocations: 31.98 kB / 1.214 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/0.6416, allocations: 40.83 kB / 1.214 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.6416, allocations: 4 kB / 1.214 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.6429, allocations: 1.409 MB / 1.216 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6429, allocations: 0 / 1.216 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005559/0.6435, allocations: 405.7 kB / 1.216 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.6436, allocations: 132.7 kB / 1.216 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.6436, allocations: 4 kB / 1.216 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.644, allocations: 8 kB / 1.216 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.644, allocations: 15.97 kB / 1.216 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.644, allocations: 12 kB / 1.216 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002291/0.6443, allocations: 211.1 kB / 1.216 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6443, allocations: 0 / 1.216 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004126/0.6447, allocations: 103.8 kB / 1.216 GB, free: 2.035 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002093/0.6449, allocations: 115.2 kB / 1.217 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.6452, allocations: 164.8 kB / 1.217 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6452, allocations: 0 / 1.217 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.6456, allocations: 198.6 kB / 1.217 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.6465, allocations: 199.2 kB / 1.217 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.6479, allocations: 0.9516 MB / 1.218 GB, free: 388 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.6484, allocations: 0.7924 MB / 1.219 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.6486, allocations: 71.22 kB / 1.219 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.6487, allocations: 23.44 kB / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.6487, allocations: 0 / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of Templates: time 0.01083/0.6596, allocations: 5.611 MB / 1.224 GB, free: 9.961 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches