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.001132/0.001132, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001139/0.001139, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.491/2.491, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001553, allocations: 63.75 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3829, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.9485/1.331, allocations: 162.4 MB / 1.185 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005692/1.337, allocations: 2.915 MB / 1.188 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/1.338, allocations: 18.44 kB / 1.188 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008126/1.339, allocations: 206.8 kB / 1.188 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/1.341, allocations: 0.7715 MB / 1.189 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/1.342, allocations: 356.1 kB / 1.189 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001525/1.344, allocations: 0.9311 MB / 1.19 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/1.344, allocations: 259.3 kB / 1.191 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000645/1.345, allocations: 333.9 kB / 1.191 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/1.346, allocations: 295.6 kB / 1.191 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.43e-05/1.346, allocations: 33.38 kB / 1.191 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/1.347, allocations: 0.6465 MB / 1.192 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/1.348, allocations: 129 kB / 1.192 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/1.348, allocations: 214.4 kB / 1.192 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/1.349, allocations: 0.749 MB / 1.193 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.349, allocations: 0 / 1.193 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.415e-06/1.349, allocations: 0 / 1.193 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.607e-06/1.349, allocations: 0 / 1.193 GB, free: 12.03 MB / 0.9044 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.001206/1.35, allocations: 0.7182 MB / 1.194 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.35, allocations: 9.625 kB / 1.194 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/1.351, allocations: 143 kB / 1.194 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/1.352, allocations: 416.8 kB / 1.194 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/1.352, allocations: 17.72 kB / 1.194 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/1.352, allocations: 26.5 kB / 1.194 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/1.353, allocations: 283 kB / 1.194 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.353, allocations: 0 / 1.194 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/1.353, allocations: 7.312 kB / 1.194 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/1.353, allocations: 8.312 kB / 1.195 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/1.353, allocations: 202.9 kB / 1.195 GB, free: 10.67 MB / 0.9044 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.001843/1.355, allocations: 1.319 MB / 1.196 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/1.355, allocations: 194.5 kB / 1.196 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/1.356, allocations: 87.45 kB / 1.196 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/1.356, allocations: 2.75 kB / 1.196 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/1.356, allocations: 35.94 kB / 1.196 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 1.963e-06/1.356, allocations: 1.375 kB / 1.196 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.0009573/1.357, allocations: 413.8 kB / 1.197 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/1.357, allocations: 54.06 kB / 1.197 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/1.357, allocations: 298.8 kB / 1.197 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/1.357, allocations: 30.86 kB / 1.197 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.357, allocations: 189.7 kB / 1.197 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/1.357, allocations: 76.41 kB / 1.197 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/1.357, allocations: 37.56 kB / 1.197 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.357, allocations: 341.9 kB / 1.198 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/1.358, allocations: 74.75 kB / 1.198 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.358, allocations: 114 kB / 1.198 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/1.358, allocations: 194.6 kB / 1.198 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.358, allocations: 1.125 kB / 1.198 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003661/1.358, allocations: 251.7 kB / 1.198 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.358, allocations: 9.281 kB / 1.198 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/1.358, allocations: 2.844 kB / 1.198 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/1.358, allocations: 6.688 kB / 1.198 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/1.359, allocations: 51.47 kB / 1.198 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/1.359, allocations: 2.906 kB / 1.198 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/1.359, allocations: 13.84 kB / 1.198 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/1.359, allocations: 9.25 kB / 1.198 GB, free: 7.609 MB / 0.9044 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.0001619/1.359, allocations: 161.8 kB / 1.199 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/1.359, allocations: 37.44 kB / 1.199 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/1.359, allocations: 37.92 kB / 1.199 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.359, allocations: 6.656 kB / 1.199 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.359, allocations: 0 / 1.199 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.359, allocations: 0 / 1.199 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/1.36, allocations: 409.5 kB / 1.199 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.36, allocations: 1.844 kB / 1.199 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/1.36, allocations: 34.23 kB / 1.199 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/1.36, allocations: 42.98 kB / 1.199 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/1.36, allocations: 6.531 kB / 1.199 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/1.361, allocations: 1.512 MB / 1.201 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.361, allocations: 4.062 kB / 1.201 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/1.362, allocations: 400.6 kB / 1.201 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.362, allocations: 125.9 kB / 1.201 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/1.362, allocations: 9.344 kB / 1.201 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/1.362, allocations: 6.875 kB / 1.201 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/1.363, allocations: 9.453 kB / 1.201 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/1.363, allocations: 17.2 kB / 1.201 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002097/1.363, allocations: 211.6 kB / 1.201 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/1.363, allocations: 0 / 1.201 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004125/1.363, allocations: 108.4 kB / 1.201 GB, free: 4.883 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.0001944/1.363, allocations: 122 kB / 1.202 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002968/1.364, allocations: 165.5 kB / 1.202 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.364, allocations: 0 / 1.202 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/1.364, allocations: 199.6 kB / 1.202 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/1.365, allocations: 190.2 kB / 1.202 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/1.366, allocations: 0.7273 MB / 1.203 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/1.366, allocations: 0.802 MB / 1.204 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002134/1.367, allocations: 56 kB / 1.204 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/1.367, allocations: 28.88 kB / 1.204 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of SimCode: time 8.92e-07/1.367, allocations: 0 / 1.204 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of Templates: time 0.01101/1.378, allocations: 6.085 MB / 1.21 GB, free: 152 kB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches