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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001347/0.001347, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001338/0.001338, allocations: 193.6 kB / 16.14 MB, free: 6.699 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.2 MB / 0.6642 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6356/0.6369, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.168/0.8049, allocations: 160.2 MB / 1.105 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004907/0.8099, allocations: 2.954 MB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006434/0.8105, allocations: 19.88 kB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009517/0.8115, allocations: 175.1 kB / 1.108 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.814, allocations: 0.7236 MB / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.8149, allocations: 318.3 kB / 1.109 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.8164, allocations: 1.22 MB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.8168, allocations: 222.1 kB / 1.111 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000541/0.8173, allocations: 286.7 kB / 1.111 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.8184, allocations: 290.8 kB / 1.111 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.964e-05/0.8185, allocations: 16 kB / 1.111 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.8199, allocations: 0.7558 MB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.8201, allocations: 107.6 kB / 1.112 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.8204, allocations: 195 kB / 1.112 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.8216, allocations: 0.779 MB / 1.113 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.8216, allocations: 0 / 1.113 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8216, allocations: 0 / 1.113 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.8216, allocations: 0 / 1.113 GB, free: 9.355 MB / 0.8731 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.001219/0.8228, allocations: 0.7165 MB / 1.114 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.8229, allocations: 12.03 kB / 1.114 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.8239, allocations: 135.4 kB / 1.114 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/0.8245, allocations: 402.4 kB / 1.114 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.8246, allocations: 20.5 kB / 1.114 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.8246, allocations: 28 kB / 1.114 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.8251, allocations: 279.7 kB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.8251, allocations: 3.906 kB / 1.115 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.8252, allocations: 8 kB / 1.115 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.8252, allocations: 8.562 kB / 1.115 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.8255, allocations: 206.1 kB / 1.115 GB, free: 7.457 MB / 0.8731 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.001787/0.8273, allocations: 1.315 MB / 1.116 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.8278, allocations: 200 kB / 1.116 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.8279, allocations: 90.72 kB / 1.116 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.8279, allocations: 4 kB / 1.116 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.828, allocations: 34.5 kB / 1.116 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.664e-06/0.828, allocations: 0 / 1.116 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001017/0.829, allocations: 407.4 kB / 1.117 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.8291, allocations: 51.41 kB / 1.117 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.8294, allocations: 304.5 kB / 1.117 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.8294, allocations: 29.7 kB / 1.117 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.8296, allocations: 192 kB / 1.117 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/0.8296, allocations: 78.92 kB / 1.118 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.8297, allocations: 41.72 kB / 1.118 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8299, allocations: 342.8 kB / 1.118 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.83, allocations: 59.97 kB / 1.118 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.8301, allocations: 119.9 kB / 1.118 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.8304, allocations: 201.2 kB / 1.118 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8304, allocations: 0 / 1.118 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003819/0.8308, allocations: 245.1 kB / 1.118 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.8308, allocations: 7.938 kB / 1.118 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.8308, allocations: 4 kB / 1.118 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8309, allocations: 0 / 1.118 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.8311, allocations: 51.91 kB / 1.119 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.8311, allocations: 4 kB / 1.119 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.8314, allocations: 16.03 kB / 1.119 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.8315, allocations: 16 kB / 1.119 GB, free: 3.418 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.8317, allocations: 157.8 kB / 1.119 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.8317, allocations: 35.56 kB / 1.119 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.8318, allocations: 39.08 kB / 1.119 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8318, allocations: 0 / 1.119 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.8318, allocations: 4 kB / 1.119 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.8319, allocations: 3.984 kB / 1.119 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.8324, allocations: 405.2 kB / 1.119 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8324, allocations: 3.938 kB / 1.119 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.8326, allocations: 35.98 kB / 1.119 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.8328, allocations: 48.7 kB / 1.119 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.8329, allocations: 4 kB / 1.119 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.834, allocations: 1.405 MB / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8341, allocations: 0 / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.8346, allocations: 398 kB / 1.121 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.8348, allocations: 132.7 kB / 1.121 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.8349, allocations: 8.062 kB / 1.121 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.8352, allocations: 15.91 kB / 1.121 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.8352, allocations: 19.86 kB / 1.121 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.8352, allocations: 8 kB / 1.121 GB, free: 500 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002441/0.8355, allocations: 219.1 kB / 1.121 GB, free: 280 kB / 0.8731 GB Notification: Performance of sort global known variables: time 5.521e-06/0.8355, allocations: 0 / 1.121 GB, free: 280 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004422/0.836, allocations: 103.8 kB / 1.122 GB, free: 176 kB / 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 (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.0001826/0.8361, allocations: 111.2 kB / 1.122 GB, free: 56 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.8365, allocations: 164.1 kB / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8365, allocations: 0 / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.8368, allocations: 204.3 kB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.8379, allocations: 187.8 kB / 1.122 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.8396, allocations: 0.843 MB / 1.123 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.8401, allocations: 0.8001 MB / 1.124 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004573/0.8406, allocations: 67.23 kB / 1.124 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.8407, allocations: 27.44 kB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of SimCode: time 7.62e-07/0.8407, allocations: 3.938 kB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of Templates: time 0.01165/0.8524, allocations: 5.826 MB / 1.13 GB, free: 7.996 MB / 0.8887 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