Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001855/0.001855, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001872/0.001872, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.033/3.033, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.269e-05, allocations: 8.156 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2231/0.2231, allocations: 158.4 MB / 0.9655 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0067/0.2298, allocations: 2.955 MB / 0.9684 GB, free: 240 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000669/0.2305, allocations: 19.81 kB / 0.9684 GB, free: 220 kB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008902/0.2314, allocations: 198.8 kB / 0.9686 GB, free: 20 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.2339, allocations: 0.8433 MB / 0.9694 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009626/0.2349, allocations: 359 kB / 0.9698 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.2366, allocations: 0.9738 MB / 0.9707 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.2371, allocations: 226.6 kB / 0.9709 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.2382, allocations: 0.4908 MB / 0.9714 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.2393, allocations: 268.8 kB / 0.9717 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.2394, allocations: 36 kB / 0.9717 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.2407, allocations: 0.5373 MB / 0.9722 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.2409, allocations: 143.5 kB / 0.9724 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.2413, allocations: 151.7 kB / 0.9725 GB, free: 12 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.2428, allocations: 0.7556 MB / 0.9732 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2428, allocations: 0 / 0.9732 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2428, allocations: 0 / 0.9732 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.2429, allocations: 4 kB / 0.9732 GB, free: 11.24 MB / 0.9323 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.001628/0.2445, allocations: 0.7753 MB / 0.974 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2445, allocations: 12.03 kB / 0.974 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.2458, allocations: 179.3 kB / 0.9742 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009283/0.2467, allocations: 370.8 kB / 0.9745 GB, free: 9.855 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.2467, allocations: 16.5 kB / 0.9746 GB, free: 9.84 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.2468, allocations: 31.98 kB / 0.9746 GB, free: 9.809 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.2475, allocations: 359.2 kB / 0.9749 GB, free: 9.422 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.2475, allocations: 3.938 kB / 0.9749 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.2476, allocations: 8 kB / 0.9749 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.2476, allocations: 12.5 kB / 0.975 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.248, allocations: 149.9 kB / 0.9751 GB, free: 9.25 MB / 0.9323 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.002365/0.2504, allocations: 1.007 MB / 0.9761 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.2509, allocations: 161 kB / 0.9762 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.2511, allocations: 79.59 kB / 0.9763 GB, free: 7.953 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.2511, allocations: 4 kB / 0.9763 GB, free: 7.949 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.2511, allocations: 41.39 kB / 0.9764 GB, free: 7.898 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 2.525e-06/0.2511, allocations: 0 / 0.9764 GB, free: 7.898 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.001075/0.2522, allocations: 277.3 kB / 0.9766 GB, free: 7.617 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.2523, allocations: 59.34 kB / 0.9767 GB, free: 7.547 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.2528, allocations: 394.3 kB / 0.977 GB, free: 7.145 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.2529, allocations: 33.7 kB / 0.9771 GB, free: 7.105 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.2532, allocations: 263.3 kB / 0.9773 GB, free: 6.84 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2533, allocations: 75.38 kB / 0.9774 GB, free: 6.766 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.2534, allocations: 63.31 kB / 0.9775 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003413/0.2537, allocations: 0.5274 MB / 0.978 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.2539, allocations: 43.98 kB / 0.978 GB, free: 6.113 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2541, allocations: 128.2 kB / 0.9781 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.2544, allocations: 197 kB / 0.9783 GB, free: 5.742 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2544, allocations: 0 / 0.9783 GB, free: 5.742 MB / 0.9323 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004806/0.2549, allocations: 225.3 kB / 0.9785 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.2549, allocations: 5.406 kB / 0.9786 GB, free: 5.512 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2549, allocations: 0 / 0.9786 GB, free: 5.512 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.2549, allocations: 4.188 kB / 0.9786 GB, free: 5.508 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.2551, allocations: 51.92 kB / 0.9786 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.2551, allocations: 7.938 kB / 0.9786 GB, free: 5.449 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.2554, allocations: 15.89 kB / 0.9786 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.2555, allocations: 4 kB / 0.9786 GB, free: 5.43 MB / 0.9323 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.0002117/0.2557, allocations: 192.5 kB / 0.9788 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.2558, allocations: 35.81 kB / 0.9788 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-05/0.2559, allocations: 34.3 kB / 0.9789 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2559, allocations: 4 kB / 0.9789 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.2559, allocations: 3.938 kB / 0.9789 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2559, allocations: 7.984 kB / 0.9789 GB, free: 5.148 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.2565, allocations: 336.4 kB / 0.9792 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2565, allocations: 0 / 0.9792 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.2567, allocations: 35.92 kB / 0.9793 GB, free: 4.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003026/0.257, allocations: 47.66 kB / 0.9793 GB, free: 4.699 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.257, allocations: 8 kB / 0.9793 GB, free: 4.691 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.2588, allocations: 1.857 MB / 0.9811 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2588, allocations: 0 / 0.9811 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.2594, allocations: 425.4 kB / 0.9815 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.2596, allocations: 51.72 kB / 0.9816 GB, free: 2.223 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.2596, allocations: 8 kB / 0.9816 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.2599, allocations: 4 kB / 0.9816 GB, free: 2.211 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.2599, allocations: 19.94 kB / 0.9816 GB, free: 2.191 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.26, allocations: 12 kB / 0.9816 GB, free: 2.18 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000276/0.2602, allocations: 255 kB / 0.9819 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.2602, allocations: 0 / 0.9819 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004498/0.2607, allocations: 111.8 kB / 0.982 GB, free: 1.824 MB / 0.9323 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.0002518/0.2609, allocations: 115.3 kB / 0.9821 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.2612, allocations: 151.4 kB / 0.9822 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2613, allocations: 0 / 0.9822 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.2616, allocations: 263.6 kB / 0.9825 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.2627, allocations: 205.6 kB / 0.9827 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.264, allocations: 0.6468 MB / 0.9833 GB, free: 408 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.2642, allocations: 194 kB / 0.9835 GB, free: 192 kB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002381/0.2645, allocations: 54.92 kB / 0.9835 GB, free: 136 kB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.2645, allocations: 28.5 kB / 0.9836 GB, free: 108 kB / 0.9323 GB Notification: Performance of SimCode: time 8.71e-07/0.2645, allocations: 0 / 0.9836 GB, free: 108 kB / 0.9323 GB Notification: Performance of Templates: time 0.01447/0.279, allocations: 6.653 MB / 0.9901 GB, free: 9.652 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.539077040972188]