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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001344/0.001344, 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.001339/0.001339, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.979/2.979, allocations: 472.6 MB / 0.7451 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 57.39 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.323, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1879/0.5109, allocations: 162.4 MB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005317/0.5163, allocations: 2.926 MB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005291/0.5168, allocations: 15.88 kB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000838/0.5178, allocations: 198.8 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.52, allocations: 0.7778 MB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.5208, allocations: 345.5 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.522, allocations: 0.9389 MB / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.5225, allocations: 254.3 kB / 1.232 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005993/0.5231, allocations: 334.6 kB / 1.232 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009348/0.524, allocations: 287.2 kB / 1.233 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.5241, allocations: 36 kB / 1.233 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.5253, allocations: 0.6508 MB / 1.233 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.5255, allocations: 131.6 kB / 1.233 GB, free: 468 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.5257, allocations: 215 kB / 1.234 GB, free: 252 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009499/0.5267, allocations: 0.744 MB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5267, allocations: 0 / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5267, allocations: 0 / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.5267, allocations: 0 / 1.234 GB, free: 15.5 MB / 0.9981 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.001082/0.5278, allocations: 0.7128 MB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5278, allocations: 8.031 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009979/0.5288, allocations: 139.4 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.5294, allocations: 406.2 kB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.5294, allocations: 20.56 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.5295, allocations: 27.98 kB / 1.236 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.53, allocations: 275.7 kB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.53, allocations: 0 / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.53, allocations: 8 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.53, allocations: 12.56 kB / 1.236 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.5304, allocations: 206 kB / 1.236 GB, free: 13.61 MB / 0.9981 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.001689/0.5321, allocations: 1.334 MB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.5325, allocations: 192.6 kB / 1.238 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.5326, allocations: 88.81 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.5327, allocations: 4 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.5327, allocations: 34.56 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.5327, allocations: 0 / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0009171/0.5336, allocations: 401.7 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.5337, allocations: 59.41 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.534, allocations: 296.6 kB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.534, allocations: 29.7 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.5342, allocations: 196.1 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.5342, allocations: 63.02 kB / 1.239 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.5343, allocations: 49.61 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5344, allocations: 338.8 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.5346, allocations: 63.97 kB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.5347, allocations: 114.6 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.535, allocations: 197.9 kB / 1.24 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.535, allocations: 0 / 1.24 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003668/0.5353, allocations: 246.8 kB / 1.24 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5354, allocations: 11.94 kB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5354, allocations: 3.938 kB / 1.24 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.5354, allocations: 4 kB / 1.24 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.5356, allocations: 43.92 kB / 1.24 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5356, allocations: 192 / 1.24 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.5359, allocations: 19.84 kB / 1.24 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.5359, allocations: 12 kB / 1.24 GB, free: 9.578 MB / 0.9981 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.0001584/0.5361, allocations: 162.2 kB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.5361, allocations: 35.56 kB / 1.24 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.5362, allocations: 35.08 kB / 1.24 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5362, allocations: 7.984 kB / 1.24 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5362, allocations: 0 / 1.24 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5362, allocations: 3.984 kB / 1.24 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.5367, allocations: 401.4 kB / 1.24 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5368, allocations: 4 kB / 1.24 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.5369, allocations: 35.92 kB / 1.24 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.5372, allocations: 48.75 kB / 1.241 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.5372, allocations: 8 kB / 1.241 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.5385, allocations: 1.508 MB / 1.242 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5385, allocations: 3.938 kB / 1.242 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.539, allocations: 401.5 kB / 1.242 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.5392, allocations: 128.6 kB / 1.243 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.5392, allocations: 15.92 kB / 1.243 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.5395, allocations: 4 kB / 1.243 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.5395, allocations: 11.98 kB / 1.243 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.5395, allocations: 4 kB / 1.243 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002164/0.5398, allocations: 219.1 kB / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5398, allocations: 4 kB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003827/0.5402, allocations: 103.8 kB / 1.243 GB, free: 6.23 MB / 0.9981 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.0001872/0.5404, allocations: 116.4 kB / 1.243 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003141/0.5407, allocations: 171.8 kB / 1.243 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.5407, allocations: 0 / 1.243 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.541, allocations: 200.7 kB / 1.243 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009534/0.542, allocations: 199.8 kB / 1.244 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5431, allocations: 0.7354 MB / 1.244 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.5435, allocations: 0.7997 MB / 1.245 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002348/0.5438, allocations: 55.25 kB / 1.245 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.5439, allocations: 27.44 kB / 1.245 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.5439, allocations: 0 / 1.245 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of Templates: time 0.5833/1.127, allocations: 6.092 MB / 1.251 GB, free: 184.2 MB / 0.9981 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