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.00138/0.00138, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001489/0.001489, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.47/1.47, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.375/3.375, allocations: 0.49 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 66.55 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4042, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2158/0.62, allocations: 165.8 MB / 1.483 GB, free: 12.38 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005482/0.6255, allocations: 2.922 MB / 1.486 GB, free: 9.445 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005991/0.6261, allocations: 23.81 kB / 1.486 GB, free: 9.422 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00077/0.6268, allocations: 210.8 kB / 1.486 GB, free: 9.215 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.629, allocations: 0.805 MB / 1.487 GB, free: 8.406 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.6299, allocations: 342.8 kB / 1.487 GB, free: 8.074 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.6313, allocations: 0.9467 MB / 1.488 GB, free: 7.121 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.6318, allocations: 214.3 kB / 1.488 GB, free: 6.91 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008941/0.6327, allocations: 394.5 kB / 1.489 GB, free: 6.523 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.6339, allocations: 311.6 kB / 1.489 GB, free: 6.223 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.634, allocations: 32 kB / 1.489 GB, free: 6.191 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.6358, allocations: 0.6859 MB / 1.49 GB, free: 5.504 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.6361, allocations: 143.5 kB / 1.49 GB, free: 5.363 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004121/0.6365, allocations: 215 kB / 1.49 GB, free: 5.152 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.6386, allocations: 0.7553 MB / 1.491 GB, free: 4.395 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6386, allocations: 0 / 1.491 GB, free: 4.395 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6386, allocations: 0 / 1.491 GB, free: 4.395 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.464e-05/0.6386, allocations: 0 / 1.491 GB, free: 4.395 MB / 1.186 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.002012/0.6406, allocations: 0.7277 MB / 1.492 GB, free: 3.617 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6407, allocations: 11.98 kB / 1.492 GB, free: 3.605 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.6419, allocations: 143.6 kB / 1.492 GB, free: 3.465 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.6427, allocations: 418.6 kB / 1.492 GB, free: 3.016 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.6427, allocations: 20.56 kB / 1.492 GB, free: 2.996 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.6428, allocations: 24 kB / 1.492 GB, free: 2.973 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.6433, allocations: 279.7 kB / 1.493 GB, free: 2.688 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.6433, allocations: 0 / 1.493 GB, free: 2.688 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.6434, allocations: 8 kB / 1.493 GB, free: 2.68 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.6434, allocations: 16.5 kB / 1.493 GB, free: 2.664 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.6438, allocations: 194.1 kB / 1.493 GB, free: 2.473 MB / 1.186 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.00207/0.6458, allocations: 1.33 MB / 1.494 GB, free: 1 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.6463, allocations: 186.8 kB / 1.494 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.6464, allocations: 80.83 kB / 1.494 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.6464, allocations: 4 kB / 1.494 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.6465, allocations: 38.56 kB / 1.494 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/0.6465, allocations: 0 / 1.494 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001038/0.6475, allocations: 405.2 kB / 1.495 GB, free: 260 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.6476, allocations: 51.41 kB / 1.495 GB, free: 196 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.6479, allocations: 300.6 kB / 1.495 GB, free: 15.89 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.648, allocations: 29.7 kB / 1.495 GB, free: 15.85 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.6481, allocations: 204.3 kB / 1.495 GB, free: 15.65 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/0.6482, allocations: 71.33 kB / 1.495 GB, free: 15.58 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.6483, allocations: 45.7 kB / 1.495 GB, free: 15.53 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6485, allocations: 334.8 kB / 1.496 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.6486, allocations: 63.97 kB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.6487, allocations: 119.4 kB / 1.496 GB, free: 14.99 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.6491, allocations: 203.9 kB / 1.496 GB, free: 14.77 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6491, allocations: 0 / 1.496 GB, free: 14.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004209/0.6495, allocations: 245.3 kB / 1.496 GB, free: 14.53 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6495, allocations: 7.938 kB / 1.496 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.6495, allocations: 7.984 kB / 1.496 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6495, allocations: 0 / 1.496 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.6498, allocations: 47.86 kB / 1.496 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6498, allocations: 4 kB / 1.496 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.6501, allocations: 19.84 kB / 1.496 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.6501, allocations: 8.188 kB / 1.496 GB, free: 14.43 MB / 1.201 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.0001803/0.6503, allocations: 165.8 kB / 1.497 GB, free: 14.26 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.6504, allocations: 39.73 kB / 1.497 GB, free: 14.22 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.007e-05/0.6504, allocations: 35.08 kB / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.6504, allocations: 0 / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.6505, allocations: 4 kB / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6505, allocations: 3.938 kB / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.651, allocations: 405.2 kB / 1.497 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.651, allocations: 0 / 1.497 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.6512, allocations: 31.92 kB / 1.497 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002518/0.6515, allocations: 56.75 kB / 1.497 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.6515, allocations: 0 / 1.497 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.653, allocations: 1.516 MB / 1.499 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.653, allocations: 0 / 1.499 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.6536, allocations: 405.7 kB / 1.499 GB, free: 11.57 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.6538, allocations: 136.9 kB / 1.499 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.6539, allocations: 7.938 kB / 1.499 GB, free: 11.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.6541, allocations: 4 kB / 1.499 GB, free: 11.41 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.6542, allocations: 15.98 kB / 1.499 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.6542, allocations: 4 kB / 1.499 GB, free: 11.39 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002901/0.6545, allocations: 215.1 kB / 1.499 GB, free: 11.18 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6545, allocations: 0 / 1.499 GB, free: 11.18 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004876/0.655, allocations: 103.8 kB / 1.499 GB, free: 11.08 MB / 1.201 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.0002245/0.6552, allocations: 115.2 kB / 1.5 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.6556, allocations: 158.4 kB / 1.5 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6556, allocations: 4.062 kB / 1.5 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.6559, allocations: 202.5 kB / 1.5 GB, free: 10.59 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.657, allocations: 193.1 kB / 1.5 GB, free: 10.4 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.6584, allocations: 0.7404 MB / 1.501 GB, free: 9.641 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.6588, allocations: 0.7959 MB / 1.502 GB, free: 8.816 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002818/0.6591, allocations: 67.22 kB / 1.502 GB, free: 8.746 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.6592, allocations: 27.44 kB / 1.502 GB, free: 8.723 MB / 1.201 GB Notification: Performance of SimCode: time 4.91e-07/0.6592, allocations: 0 / 1.502 GB, free: 8.723 MB / 1.201 GB Notification: Performance of Templates: time 0.01367/0.6729, allocations: 6.182 MB / 1.508 GB, free: 2.641 MB / 1.201 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.736177979968488]