Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001666/0.001671, 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.002436/0.002436, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.7103 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.05 kB / 0.8692 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6678/0.6691, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1667/0.8358, allocations: 162.4 MB / 1.176 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004266/0.8401, allocations: 2.913 MB / 1.179 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.8405, allocations: 15.94 kB / 1.179 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.8412, allocations: 206.8 kB / 1.179 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.8432, allocations: 0.7738 MB / 1.18 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.8441, allocations: 347.2 kB / 1.18 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.8453, allocations: 0.9351 MB / 1.181 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.8456, allocations: 246.3 kB / 1.181 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.8461, allocations: 342.6 kB / 1.181 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007693/0.8469, allocations: 288.5 kB / 1.182 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.847, allocations: 36 kB / 1.182 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.8482, allocations: 0.643 MB / 1.182 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.8484, allocations: 123.7 kB / 1.183 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.8487, allocations: 215 kB / 1.183 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.8502, allocations: 0.744 MB / 1.183 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.8502, allocations: 4 kB / 1.183 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.006e-06/0.8502, allocations: 0 / 1.183 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.8503, allocations: 0 / 1.183 GB, free: 7.805 MB / 0.9356 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.001334/0.8516, allocations: 0.7049 MB / 1.184 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.8517, allocations: 12.03 kB / 1.184 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.8528, allocations: 147.3 kB / 1.184 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.8535, allocations: 398.4 kB / 1.185 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.8535, allocations: 20.56 kB / 1.185 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.8536, allocations: 27.91 kB / 1.185 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.8541, allocations: 275.6 kB / 1.185 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.8541, allocations: 4 kB / 1.185 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.8542, allocations: 15.94 kB / 1.185 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.8542, allocations: 8.562 kB / 1.185 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.8545, allocations: 194.1 kB / 1.185 GB, free: 5.918 MB / 0.9356 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.001755/0.8563, allocations: 1.33 MB / 1.187 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.8567, allocations: 188.6 kB / 1.187 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.8568, allocations: 88.83 kB / 1.187 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8569, allocations: 4 kB / 1.187 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.8569, allocations: 42.56 kB / 1.187 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.8569, allocations: 0 / 1.187 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0009874/0.8579, allocations: 404.9 kB / 1.187 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.858, allocations: 55.39 kB / 1.187 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.8583, allocations: 300.6 kB / 1.188 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.8583, allocations: 29.7 kB / 1.188 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.8585, allocations: 200 kB / 1.188 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.8586, allocations: 70.94 kB / 1.188 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.8586, allocations: 41.72 kB / 1.188 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.8588, allocations: 342.8 kB / 1.188 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.8589, allocations: 63.97 kB / 1.188 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.859, allocations: 119 kB / 1.188 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.8593, allocations: 195.6 kB / 1.189 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8593, allocations: 0 / 1.189 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003618/0.8597, allocations: 249 kB / 1.189 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.8597, allocations: 13.12 kB / 1.189 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8597, allocations: 4.188 kB / 1.189 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8598, allocations: 8 kB / 1.189 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.86, allocations: 39.92 kB / 1.189 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.86, allocations: 7.984 kB / 1.189 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.8603, allocations: 15.84 kB / 1.189 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.8603, allocations: 8 kB / 1.189 GB, free: 1.867 MB / 0.9356 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.0001616/0.8604, allocations: 161.8 kB / 1.189 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.8605, allocations: 35.56 kB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.676e-05/0.8606, allocations: 35.08 kB / 1.189 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8606, allocations: 8 kB / 1.189 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8606, allocations: 0 / 1.189 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8606, allocations: 0 / 1.189 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.8611, allocations: 409.2 kB / 1.189 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8611, allocations: 0 / 1.189 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.8613, allocations: 27.98 kB / 1.19 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/0.8616, allocations: 52.77 kB / 1.19 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8616, allocations: 3.938 kB / 1.19 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.8628, allocations: 1.523 MB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8629, allocations: 4 kB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.8634, allocations: 402.6 kB / 1.191 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.8635, allocations: 124.8 kB / 1.192 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.8636, allocations: 7.938 kB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.8638, allocations: 4 kB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.8639, allocations: 20.05 kB / 1.192 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.8639, allocations: 7.984 kB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002073/0.8641, allocations: 215.1 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8641, allocations: 0 / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004049/0.8645, allocations: 103.8 kB / 1.192 GB, free: 14.52 MB / 0.9512 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.0001864/0.8647, allocations: 123.2 kB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.8651, allocations: 181.5 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8651, allocations: 0 / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.8654, allocations: 198.5 kB / 1.192 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.8664, allocations: 204.1 kB / 1.193 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.8676, allocations: 0.7371 MB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.8681, allocations: 0.796 MB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002544/0.8684, allocations: 63.23 kB / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.8685, allocations: 27.44 kB / 1.194 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.8685, allocations: 4 kB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of Templates: time 0.01141/0.8799, allocations: 6.076 MB / 1.2 GB, free: 6.18 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches