Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00113/0.00113, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.00137/0.00137, allocations: 172.7 kB / 15.95 MB, free: 208 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.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6412, allocations: 142.4 MB / 0.9544 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1588/0.8, allocations: 147.5 MB / 1.098 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004398/0.8045, allocations: 2.718 MB / 1.101 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004823/0.805, allocations: 11.94 kB / 1.101 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.8056, allocations: 143.1 kB / 1.101 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.807, allocations: 0.5675 MB / 1.102 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.8077, allocations: 242.5 kB / 1.102 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.8089, allocations: 1.048 MB / 1.103 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.8092, allocations: 197.4 kB / 1.103 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.8097, allocations: 278.8 kB / 1.103 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.8101, allocations: 266.9 kB / 1.104 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.8101, allocations: 12 kB / 1.104 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007597/0.8109, allocations: 315.2 kB / 1.104 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.8111, allocations: 107.6 kB / 1.104 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.887e-05/0.8111, allocations: 101.5 kB / 1.104 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.8118, allocations: 0.5065 MB / 1.105 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8118, allocations: 4 kB / 1.105 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8118, allocations: 0 / 1.105 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8118, allocations: 0 / 1.105 GB, free: 5.156 MB / 0.8575 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.001024/0.8129, allocations: 0.6504 MB / 1.105 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.8129, allocations: 16.03 kB / 1.105 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/0.8139, allocations: 127.4 kB / 1.106 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.8144, allocations: 398.5 kB / 1.106 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.8145, allocations: 20.56 kB / 1.106 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.8145, allocations: 28 kB / 1.106 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.815, allocations: 271.7 kB / 1.106 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.815, allocations: 0 / 1.106 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.815, allocations: 12 kB / 1.106 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.815, allocations: 8.562 kB / 1.106 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.8154, allocations: 198.1 kB / 1.106 GB, free: 3.348 MB / 0.8575 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.001636/0.817, allocations: 1.33 MB / 1.108 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.8174, allocations: 186.9 kB / 1.108 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.8176, allocations: 88.77 kB / 1.108 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.8176, allocations: 4 kB / 1.108 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.8176, allocations: 34.56 kB / 1.108 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 2.776e-06/0.8176, allocations: 0 / 1.108 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0008954/0.8185, allocations: 408.5 kB / 1.108 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.8186, allocations: 55.36 kB / 1.108 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.8189, allocations: 296.6 kB / 1.109 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.8189, allocations: 33.7 kB / 1.109 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.8191, allocations: 192.1 kB / 1.109 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.8191, allocations: 71 kB / 1.109 GB, free: 472 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.8192, allocations: 8 kB / 1.109 GB, free: 464 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.8193, allocations: 334.8 kB / 1.109 GB, free: 120 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.8194, allocations: 63.97 kB / 1.109 GB, free: 56 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.8195, allocations: 118.6 kB / 1.11 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.8197, allocations: 81.88 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8197, allocations: 3.938 kB / 1.11 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003522/0.8201, allocations: 241.1 kB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.8201, allocations: 7.984 kB / 1.11 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8201, allocations: 4.188 kB / 1.11 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.8201, allocations: 4 kB / 1.11 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.8203, allocations: 47.88 kB / 1.11 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.8203, allocations: 7.938 kB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.8206, allocations: 27.78 kB / 1.11 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.8206, allocations: 15.98 kB / 1.11 GB, free: 15.48 MB / 0.8731 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.0001495/0.8208, allocations: 157.8 kB / 1.11 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.8208, allocations: 35.62 kB / 1.11 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.679e-05/0.8209, allocations: 39.08 kB / 1.11 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8209, allocations: 3.984 kB / 1.11 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.8209, allocations: 7.953 kB / 1.11 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.821, allocations: 0 / 1.11 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.8215, allocations: 397.2 kB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8215, allocations: 0 / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.8216, allocations: 31.98 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.8219, allocations: 52.75 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.8219, allocations: 4 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.823, allocations: 1.405 MB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.823, allocations: 3.953 kB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.8235, allocations: 397.3 kB / 1.112 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.8236, allocations: 124.8 kB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.8237, allocations: 7.953 kB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.824, allocations: 29.64 kB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.824, allocations: 7.984 kB / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.824, allocations: 8 kB / 1.113 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002036/0.8242, allocations: 211.1 kB / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8242, allocations: 0 / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004051/0.8246, allocations: 103.8 kB / 1.113 GB, free: 12.25 MB / 0.8731 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.000177/0.8248, allocations: 126.9 kB / 1.113 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.8251, allocations: 161.8 kB / 1.113 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8251, allocations: 0 / 1.113 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.8254, allocations: 203 kB / 1.113 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009657/0.8264, allocations: 192 kB / 1.114 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.8277, allocations: 0.9467 MB / 1.114 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.8281, allocations: 0.7962 MB / 1.115 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.8284, allocations: 63.25 kB / 1.115 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.8285, allocations: 23.44 kB / 1.115 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.8285, allocations: 4 kB / 1.115 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of Templates: time 0.01014/0.8386, allocations: 5.614 MB / 1.121 GB, free: 4.18 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches