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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 104.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 191.6 kB / 22.1 MB, free: 4.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 250.8 MB, free: 2.926 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.964/2.964, allocations: 495.8 MB / 0.7831 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.002049/0.002049, allocations: 71.88 kB / 1.137 GB, free: 12.27 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.088, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2208/1.309, allocations: 161.3 MB / 1.464 GB, free: 13.13 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005875/1.315, allocations: 2.934 MB / 1.467 GB, free: 11.08 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/1.315, allocations: 23 kB / 1.467 GB, free: 11.07 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008192/1.316, allocations: 215.1 kB / 1.467 GB, free: 10.95 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002525/1.319, allocations: 0.8182 MB / 1.468 GB, free: 10.5 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/1.32, allocations: 359.1 kB / 1.468 GB, free: 10.3 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001631/1.321, allocations: 0.9733 MB / 1.469 GB, free: 9.84 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/1.322, allocations: 213.7 kB / 1.47 GB, free: 9.734 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007295/1.322, allocations: 384.7 kB / 1.47 GB, free: 9.562 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000933/1.323, allocations: 314.3 kB / 1.47 GB, free: 9.43 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/1.323, allocations: 33.66 kB / 1.47 GB, free: 9.43 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/1.325, allocations: 0.5332 MB / 1.471 GB, free: 9.23 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/1.325, allocations: 130.8 kB / 1.471 GB, free: 9.172 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/1.325, allocations: 215.7 kB / 1.471 GB, free: 9.047 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/1.327, allocations: 0.7397 MB / 1.472 GB, free: 8.609 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/1.327, allocations: 4 kB / 1.472 GB, free: 8.605 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.826e-06/1.327, allocations: 0 / 1.472 GB, free: 8.605 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.298e-06/1.327, allocations: 0 / 1.472 GB, free: 8.605 MB / 1.154 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.00136/1.328, allocations: 0.6473 MB / 1.473 GB, free: 8.07 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.328, allocations: 12.45 kB / 1.473 GB, free: 8.066 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/1.329, allocations: 135.5 kB / 1.473 GB, free: 8.008 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/1.33, allocations: 362 kB / 1.473 GB, free: 7.707 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/1.33, allocations: 18.5 kB / 1.473 GB, free: 7.699 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/1.33, allocations: 35.84 kB / 1.473 GB, free: 7.68 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/1.331, allocations: 273.3 kB / 1.473 GB, free: 7.504 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.331, allocations: 0 / 1.473 GB, free: 7.504 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/1.331, allocations: 10.62 kB / 1.473 GB, free: 7.496 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/1.331, allocations: 9.625 kB / 1.473 GB, free: 7.496 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/1.331, allocations: 198.6 kB / 1.474 GB, free: 7.402 MB / 1.154 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.002133/1.333, allocations: 1.28 MB / 1.475 GB, free: 6.207 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/1.334, allocations: 185.6 kB / 1.475 GB, free: 6.102 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/1.334, allocations: 89.39 kB / 1.475 GB, free: 6.051 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/1.334, allocations: 1.188 kB / 1.475 GB, free: 6.051 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1.334, allocations: 37.25 kB / 1.475 GB, free: 6.008 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.552e-06/1.334, allocations: 0 / 1.475 GB, free: 6.008 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.0009916/1.335, allocations: 325.6 kB / 1.475 GB, free: 5.828 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.675e-05/1.335, allocations: 53.84 kB / 1.475 GB, free: 5.766 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/1.335, allocations: 298.6 kB / 1.476 GB, free: 5.566 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/1.335, allocations: 34.95 kB / 1.476 GB, free: 5.527 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/1.336, allocations: 206.1 kB / 1.476 GB, free: 5.336 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/1.336, allocations: 68.61 kB / 1.476 GB, free: 5.277 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/1.336, allocations: 48.44 kB / 1.476 GB, free: 5.238 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001956/1.336, allocations: 338.7 kB / 1.476 GB, free: 4.906 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/1.336, allocations: 62.44 kB / 1.476 GB, free: 4.875 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/1.336, allocations: 119.6 kB / 1.477 GB, free: 4.777 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/1.337, allocations: 203.2 kB / 1.477 GB, free: 4.633 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.337, allocations: 3.938 kB / 1.477 GB, free: 4.629 MB / 1.154 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004231/1.337, allocations: 245.6 kB / 1.477 GB, free: 4.492 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.337, allocations: 9.219 kB / 1.477 GB, free: 4.488 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.337, allocations: 2.5 kB / 1.477 GB, free: 4.488 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.337, allocations: 2.531 kB / 1.477 GB, free: 4.488 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/1.337, allocations: 43.61 kB / 1.477 GB, free: 4.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/1.337, allocations: 2.594 kB / 1.477 GB, free: 4.48 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/1.338, allocations: 19.98 kB / 1.477 GB, free: 4.465 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/1.338, allocations: 6.594 kB / 1.477 GB, free: 4.465 MB / 1.154 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.0001909/1.338, allocations: 170.4 kB / 1.477 GB, free: 4.309 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/1.338, allocations: 35.34 kB / 1.477 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.622e-05/1.338, allocations: 35.2 kB / 1.477 GB, free: 4.258 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/1.338, allocations: 2.281 kB / 1.477 GB, free: 4.258 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.338, allocations: 1.125 kB / 1.477 GB, free: 4.258 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.338, allocations: 3.984 kB / 1.477 GB, free: 4.254 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/1.339, allocations: 377.2 kB / 1.478 GB, free: 3.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.339, allocations: 1.281 kB / 1.478 GB, free: 3.93 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/1.339, allocations: 32.83 kB / 1.478 GB, free: 3.922 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/1.339, allocations: 47.73 kB / 1.478 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/1.339, allocations: 5.141 kB / 1.478 GB, free: 3.887 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/1.341, allocations: 1.412 MB / 1.479 GB, free: 2.492 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.341, allocations: 7.984 kB / 1.479 GB, free: 2.484 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/1.341, allocations: 398.2 kB / 1.48 GB, free: 2.211 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.341, allocations: 49.58 kB / 1.48 GB, free: 2.176 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/1.341, allocations: 9.312 kB / 1.48 GB, free: 2.168 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/1.342, allocations: 6.156 kB / 1.48 GB, free: 2.164 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/1.342, allocations: 21.59 kB / 1.48 GB, free: 2.148 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/1.342, allocations: 4.094 kB / 1.48 GB, free: 2.148 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002682/1.342, allocations: 221 kB / 1.48 GB, free: 2.004 MB / 1.154 GB Notification: Performance of sort global known variables: time 7.1e-08/1.342, allocations: 0 / 1.48 GB, free: 2.004 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005156/1.342, allocations: 111.8 kB / 1.48 GB, free: 1.98 MB / 1.154 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.0002017/1.343, allocations: 110.8 kB / 1.48 GB, free: 1.887 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003199/1.343, allocations: 161.8 kB / 1.48 GB, free: 1.812 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.343, allocations: 0 / 1.48 GB, free: 1.812 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/1.343, allocations: 193.7 kB / 1.48 GB, free: 1.66 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.344, allocations: 210.9 kB / 1.481 GB, free: 1.543 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/1.346, allocations: 0.7426 MB / 1.481 GB, free: 1.012 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/1.346, allocations: 0.7972 MB / 1.482 GB, free: 268 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002612/1.347, allocations: 57.78 kB / 1.482 GB, free: 236 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/1.347, allocations: 25.28 kB / 1.482 GB, free: 232 kB / 1.154 GB Notification: Performance of SimCode: time 7.31e-07/1.347, allocations: 0 / 1.482 GB, free: 232 kB / 1.154 GB Notification: Performance of Templates: time 0.01439/1.361, allocations: 6.313 MB / 1.488 GB, free: 13.12 MB / 1.17 GB " [Timeout remaining time 299] 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: 9.964603025466204]