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.001444/0.001444, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001627/0.001627, allocations: 214.8 kB / 23 MB, free: 4.969 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.194/3.194, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002097/0.002097, allocations: 68.25 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4066, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1904/0.597, allocations: 143.1 MB / 1.467 GB, free: 1.348 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005036/0.602, allocations: 2.743 MB / 1.47 GB, free: 14.6 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.6024, allocations: 23.81 kB / 1.47 GB, free: 14.57 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.6031, allocations: 190.8 kB / 1.47 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.6052, allocations: 0.8167 MB / 1.471 GB, free: 13.57 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.6061, allocations: 355.9 kB / 1.471 GB, free: 13.22 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.6073, allocations: 0.9703 MB / 1.472 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.6077, allocations: 210.5 kB / 1.472 GB, free: 12.04 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006393/0.6083, allocations: 390.5 kB / 1.472 GB, free: 11.65 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008925/0.6092, allocations: 312 kB / 1.473 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.6093, allocations: 36 kB / 1.473 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.6103, allocations: 0.5376 MB / 1.473 GB, free: 10.78 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.6105, allocations: 139.5 kB / 1.473 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.6107, allocations: 171.3 kB / 1.474 GB, free: 10.47 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.6118, allocations: 0.7397 MB / 1.474 GB, free: 9.73 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6118, allocations: 4 kB / 1.474 GB, free: 9.727 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6118, allocations: 0 / 1.474 GB, free: 9.727 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.6118, allocations: 0 / 1.474 GB, free: 9.727 MB / 1.17 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.001204/0.613, allocations: 0.6562 MB / 1.475 GB, free: 9.039 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.613, allocations: 8.031 kB / 1.475 GB, free: 9.031 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.6141, allocations: 139.6 kB / 1.475 GB, free: 8.895 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.6148, allocations: 364 kB / 1.475 GB, free: 8.508 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.6148, allocations: 16.5 kB / 1.475 GB, free: 8.492 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.6148, allocations: 28 kB / 1.475 GB, free: 8.465 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.6154, allocations: 377.6 kB / 1.476 GB, free: 8.062 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.6154, allocations: 0 / 1.476 GB, free: 8.062 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.6155, allocations: 12 kB / 1.476 GB, free: 8.051 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.6155, allocations: 8.5 kB / 1.476 GB, free: 8.043 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.6159, allocations: 197.8 kB / 1.476 GB, free: 7.848 MB / 1.17 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.001611/0.6175, allocations: 0.7965 MB / 1.477 GB, free: 7.02 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.6179, allocations: 178.8 kB / 1.477 GB, free: 6.836 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.618, allocations: 96.69 kB / 1.477 GB, free: 6.738 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.618, allocations: 4 kB / 1.477 GB, free: 6.734 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.6181, allocations: 30.91 kB / 1.477 GB, free: 6.695 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.674e-06/0.6181, allocations: 4 kB / 1.477 GB, free: 6.691 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.0009586/0.619, allocations: 327.4 kB / 1.477 GB, free: 6.363 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.619, allocations: 51.41 kB / 1.477 GB, free: 6.301 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.6194, allocations: 296.5 kB / 1.478 GB, free: 6.004 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.6194, allocations: 29.7 kB / 1.478 GB, free: 5.969 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.6195, allocations: 200.6 kB / 1.478 GB, free: 5.77 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-05/0.6196, allocations: 75.36 kB / 1.478 GB, free: 5.695 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.6197, allocations: 45.7 kB / 1.478 GB, free: 5.645 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6199, allocations: 338.8 kB / 1.478 GB, free: 5.305 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.62, allocations: 63.97 kB / 1.478 GB, free: 5.242 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.6201, allocations: 117.2 kB / 1.479 GB, free: 5.109 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.6204, allocations: 207.3 kB / 1.479 GB, free: 4.887 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6204, allocations: 0 / 1.479 GB, free: 4.887 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004034/0.6208, allocations: 242.9 kB / 1.479 GB, free: 4.645 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6208, allocations: 4 kB / 1.479 GB, free: 4.641 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6208, allocations: 0 / 1.479 GB, free: 4.641 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.6209, allocations: 11.94 kB / 1.479 GB, free: 4.629 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.6211, allocations: 47.91 kB / 1.479 GB, free: 4.582 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.6211, allocations: 4 kB / 1.479 GB, free: 4.578 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.6214, allocations: 24.03 kB / 1.479 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.6214, allocations: 4 kB / 1.479 GB, free: 4.551 MB / 1.17 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.000174/0.6216, allocations: 169.7 kB / 1.479 GB, free: 4.375 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.6216, allocations: 23.86 kB / 1.479 GB, free: 4.352 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.634e-05/0.6217, allocations: 42.17 kB / 1.479 GB, free: 4.309 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.6217, allocations: 4 kB / 1.479 GB, free: 4.305 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6217, allocations: 0 / 1.479 GB, free: 4.305 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.6219, allocations: 47.78 kB / 1.479 GB, free: 4.258 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.6219, allocations: 8 kB / 1.479 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.6222, allocations: 4 kB / 1.479 GB, free: 4.246 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.6222, allocations: 19.97 kB / 1.479 GB, free: 4.227 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006419/0.6228, allocations: 319.5 kB / 1.48 GB, free: 3.906 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005432/0.6234, allocations: 460 kB / 1.48 GB, free: 3.441 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001227/0.6235, allocations: 71.97 kB / 1.48 GB, free: 3.371 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002159/0.6237, allocations: 215 kB / 1.48 GB, free: 3.16 MB / 1.17 GB Notification: Performance of Backend: time 6.11e-07/0.6237, allocations: 0 / 1.48 GB, free: 3.16 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.6247, allocations: 319.8 kB / 1.481 GB, free: 2.844 MB / 1.17 GB Notification: Performance of SimCode: time 0.002061/0.6268, allocations: 1.326 MB / 1.482 GB, free: 1.469 MB / 1.17 GB Notification: Performance of Templates: time 0.01502/0.6418, allocations: 8.476 MB / 1.49 GB, free: 9.133 MB / 1.186 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/jenkins1/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.337224120994506]