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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002431/0.002431, allocations: 174.3 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.877/2.877, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.608e-05, allocations: 2.281 kB / 1 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7385/0.7385, allocations: 143.1 MB / 1.14 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003954/0.7425, allocations: 2.741 MB / 1.143 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/0.743, allocations: 23.53 kB / 1.143 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.7437, allocations: 201.7 kB / 1.143 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.7457, allocations: 0.8416 MB / 1.144 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007437/0.7464, allocations: 350.9 kB / 1.144 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.7479, allocations: 0.9797 MB / 1.145 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.7483, allocations: 212.2 kB / 1.145 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000789/0.7491, allocations: 0.4928 MB / 1.146 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008465/0.7499, allocations: 259.6 kB / 1.146 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.75, allocations: 33.88 kB / 1.146 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.7511, allocations: 0.5434 MB / 1.146 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.7512, allocations: 136.6 kB / 1.146 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.7514, allocations: 153.7 kB / 1.147 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.7525, allocations: 0.753 MB / 1.147 GB, free: 45.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7525, allocations: 0 / 1.147 GB, free: 45.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7525, allocations: 0 / 1.147 GB, free: 45.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.7525, allocations: 2.594 kB / 1.147 GB, free: 45.12 MB / 1.076 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.0009773/0.7535, allocations: 0.6483 MB / 1.148 GB, free: 44.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7535, allocations: 12.16 kB / 1.148 GB, free: 44.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009746/0.7545, allocations: 143.2 kB / 1.148 GB, free: 44.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.755, allocations: 353.5 kB / 1.148 GB, free: 44.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.755, allocations: 19.66 kB / 1.148 GB, free: 44.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.7551, allocations: 21.69 kB / 1.149 GB, free: 44.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.7555, allocations: 384.8 kB / 1.149 GB, free: 44.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.7556, allocations: 6.844 kB / 1.149 GB, free: 44.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.7556, allocations: 9.688 kB / 1.149 GB, free: 44.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.7556, allocations: 10.2 kB / 1.149 GB, free: 44.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.7559, allocations: 195.6 kB / 1.149 GB, free: 44.32 MB / 1.076 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.001322/0.7572, allocations: 0.7957 MB / 1.15 GB, free: 43.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.7576, allocations: 181.2 kB / 1.15 GB, free: 43.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.7577, allocations: 89.53 kB / 1.15 GB, free: 43.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.7577, allocations: 6.812 kB / 1.15 GB, free: 43.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.7577, allocations: 33.47 kB / 1.15 GB, free: 43.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/0.7577, allocations: 0.9375 kB / 1.15 GB, free: 43.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0008266/0.7586, allocations: 320.6 kB / 1.15 GB, free: 43.86 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.7586, allocations: 54.28 kB / 1.151 GB, free: 43.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.7588, allocations: 293.2 kB / 1.151 GB, free: 43.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.7589, allocations: 32.7 kB / 1.151 GB, free: 43.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.7589, allocations: 200.5 kB / 1.151 GB, free: 43.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.759, allocations: 70.97 kB / 1.151 GB, free: 43.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.7591, allocations: 46.88 kB / 1.151 GB, free: 43.47 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.7591, allocations: 346.8 kB / 1.151 GB, free: 43.15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.7592, allocations: 61.08 kB / 1.152 GB, free: 43.15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.7593, allocations: 113.1 kB / 1.152 GB, free: 43.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.7595, allocations: 197.5 kB / 1.152 GB, free: 43.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.7595, allocations: 4.844 kB / 1.152 GB, free: 43.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002988/0.7598, allocations: 247.6 kB / 1.152 GB, free: 42.99 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7599, allocations: 5.75 kB / 1.152 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7599, allocations: 3.969 kB / 1.152 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7599, allocations: 2.75 kB / 1.152 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.7601, allocations: 40.78 kB / 1.152 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7601, allocations: 4.969 kB / 1.152 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.7603, allocations: 16.58 kB / 1.152 GB, free: 42.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.7603, allocations: 12.38 kB / 1.152 GB, free: 42.98 MB / 1.076 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.0001218/0.7605, allocations: 166.8 kB / 1.152 GB, free: 42.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.7605, allocations: 32.59 kB / 1.152 GB, free: 42.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.7606, allocations: 32.53 kB / 1.152 GB, free: 42.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7606, allocations: 5.219 kB / 1.152 GB, free: 42.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.7606, allocations: 2.844 kB / 1.152 GB, free: 42.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7606, allocations: 0.8438 kB / 1.152 GB, free: 42.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.7609, allocations: 287.2 kB / 1.153 GB, free: 42.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7609, allocations: 0.6875 kB / 1.153 GB, free: 42.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.7611, allocations: 32.34 kB / 1.153 GB, free: 42.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.7613, allocations: 47.41 kB / 1.153 GB, free: 42.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.7613, allocations: 3.375 kB / 1.153 GB, free: 42.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008683/0.7622, allocations: 1.388 MB / 1.154 GB, free: 41.52 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7622, allocations: 3.938 kB / 1.154 GB, free: 41.51 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.7626, allocations: 400.2 kB / 1.154 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.7627, allocations: 53.89 kB / 1.155 GB, free: 41.33 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.7628, allocations: 7.5 kB / 1.155 GB, free: 41.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.763, allocations: 6.031 kB / 1.155 GB, free: 41.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.7631, allocations: 14.12 kB / 1.155 GB, free: 41.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.7631, allocations: 8.281 kB / 1.155 GB, free: 41.33 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001586/0.7633, allocations: 213.7 kB / 1.155 GB, free: 41.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7633, allocations: 0.9688 kB / 1.155 GB, free: 41.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003991/0.7637, allocations: 102.3 kB / 1.155 GB, free: 41.24 MB / 1.076 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.0001838/0.7638, allocations: 122.1 kB / 1.155 GB, free: 41.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.7641, allocations: 162.4 kB / 1.155 GB, free: 41.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7641, allocations: 0 / 1.155 GB, free: 41.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.7644, allocations: 195.7 kB / 1.155 GB, free: 41.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.7654, allocations: 202.4 kB / 1.156 GB, free: 41.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.7665, allocations: 0.6514 MB / 1.156 GB, free: 40.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.7666, allocations: 199.3 kB / 1.156 GB, free: 40.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.7669, allocations: 56.8 kB / 1.156 GB, free: 40.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.7669, allocations: 26.69 kB / 1.156 GB, free: 40.62 MB / 1.076 GB Notification: Performance of SimCode: time 3.8e-07/0.7669, allocations: 4.281 kB / 1.156 GB, free: 40.62 MB / 1.076 GB Notification: Performance of Templates: time 0.0103/0.7772, allocations: 6.368 MB / 1.163 GB, free: 40.13 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.133214548230171]