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.001934/0.001934, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002183/0.002183, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.486/1.486, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 2.864/2.864, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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 2.204e-06/2.204e-06, allocations: 0 / 0.8108 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.394e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2121/0.2121, allocations: 143.1 MB / 0.9505 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.005258/0.2174, allocations: 2.746 MB / 0.9532 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.2177, allocations: 19.88 kB / 0.9532 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.2185, allocations: 198.7 kB / 0.9534 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.2205, allocations: 0.8317 MB / 0.9542 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.2214, allocations: 355 kB / 0.9546 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.2228, allocations: 0.9776 MB / 0.9555 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.2231, allocations: 218.7 kB / 0.9557 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.224, allocations: 0.4947 MB / 0.9562 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009476/0.225, allocations: 278.7 kB / 0.9565 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.225, allocations: 32 kB / 0.9565 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.2261, allocations: 0.5374 MB / 0.957 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.2263, allocations: 143.5 kB / 0.9572 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.2265, allocations: 151.6 kB / 0.9573 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.2278, allocations: 0.7556 MB / 0.958 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2278, allocations: 0 / 0.958 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2278, allocations: 7.938 kB / 0.958 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.2278, allocations: 4 kB / 0.9581 GB, free: 10.87 MB / 0.9167 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.001281/0.2291, allocations: 0.6406 MB / 0.9587 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2291, allocations: 8.031 kB / 0.9587 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.2303, allocations: 179.3 kB / 0.9589 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.231, allocations: 380 kB / 0.9592 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.231, allocations: 16.5 kB / 0.9592 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.2311, allocations: 28 kB / 0.9593 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.2318, allocations: 381.5 kB / 0.9596 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2319, allocations: 0 / 0.9596 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.2319, allocations: 12 kB / 0.9596 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.2319, allocations: 8.5 kB / 0.9596 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.2324, allocations: 193.9 kB / 0.9598 GB, free: 8.957 MB / 0.9167 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.001737/0.2341, allocations: 0.8117 MB / 0.9606 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.2346, allocations: 182.8 kB / 0.9608 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.2347, allocations: 84.83 kB / 0.9609 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.2348, allocations: 4 kB / 0.9609 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.2348, allocations: 38.91 kB / 0.9609 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.834e-06/0.2348, allocations: 0 / 0.9609 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.001029/0.2358, allocations: 324.2 kB / 0.9612 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.2359, allocations: 55.34 kB / 0.9613 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.2363, allocations: 304.5 kB / 0.9616 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.2363, allocations: 29.7 kB / 0.9616 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.2365, allocations: 196.6 kB / 0.9618 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.549e-05/0.2366, allocations: 75.31 kB / 0.9619 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.2366, allocations: 41.72 kB / 0.9619 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.2368, allocations: 342.8 kB / 0.9622 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.237, allocations: 59.97 kB / 0.9623 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2371, allocations: 116.4 kB / 0.9624 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.2375, allocations: 204.2 kB / 0.9626 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2375, allocations: 4 kB / 0.9626 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004411/0.2379, allocations: 245.3 kB / 0.9628 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2379, allocations: 7.938 kB / 0.9628 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2379, allocations: 4 kB / 0.9628 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.238, allocations: 4.188 kB / 0.9628 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.2382, allocations: 43.98 kB / 0.9629 GB, free: 5.684 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.2382, allocations: 15.86 kB / 0.9629 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.2385, allocations: 19.84 kB / 0.9629 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2385, allocations: 8 kB / 0.9629 GB, free: 5.641 MB / 0.9167 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.000183/0.2387, allocations: 153.8 kB / 0.9631 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.2387, allocations: 31.86 kB / 0.9631 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.77e-05/0.2388, allocations: 42.23 kB / 0.9631 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2388, allocations: 7.922 kB / 0.9631 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2388, allocations: 3.938 kB / 0.9632 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2389, allocations: 4 kB / 0.9632 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.2393, allocations: 293 kB / 0.9634 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2393, allocations: 0 / 0.9634 GB, free: 5.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.2395, allocations: 31.98 kB / 0.9635 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.2399, allocations: 56.81 kB / 0.9635 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.2399, allocations: 4 kB / 0.9635 GB, free: 4.977 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.2414, allocations: 1.389 MB / 0.9649 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2414, allocations: 0 / 0.9649 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.2421, allocations: 403.3 kB / 0.9653 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.2422, allocations: 47.78 kB / 0.9653 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.2423, allocations: 8 kB / 0.9653 GB, free: 3.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.2425, allocations: 12.22 kB / 0.9653 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.2426, allocations: 11.97 kB / 0.9653 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2426, allocations: 8.062 kB / 0.9653 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002628/0.2428, allocations: 211.1 kB / 0.9656 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.2428, allocations: 4 kB / 0.9656 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004639/0.2433, allocations: 107.8 kB / 0.9657 GB, free: 2.672 MB / 0.9167 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.0002903/0.2436, allocations: 119.2 kB / 0.9658 GB, free: 2.547 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.2441, allocations: 159.8 kB / 0.9659 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2441, allocations: 0 / 0.9659 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.2444, allocations: 198.5 kB / 0.9661 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.246, allocations: 202.7 kB / 0.9663 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.2478, allocations: 0.657 MB / 0.9669 GB, free: 1.309 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.2481, allocations: 190 kB / 0.9671 GB, free: 1.102 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003566/0.2484, allocations: 62.92 kB / 0.9672 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2485, allocations: 28.5 kB / 0.9672 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of SimCode: time 1.193e-06/0.2485, allocations: 0 / 0.9672 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of Templates: time 0.01886/0.2674, allocations: 6.488 MB / 0.9736 GB, free: 10.73 MB / 0.9323 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] 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.239114437019452]