Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001302/0.001302, allocations: 79.73 kB / 19.76 MB, free: 2.02 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.001402/0.001402, allocations: 160.6 kB / 23 MB, free: 4.949 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.876/2.876, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002154/0.002154, allocations: 75.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.946/0.9481, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1978/1.146, allocations: 143.1 MB / 1.326 GB, free: 6.754 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004842/1.151, allocations: 2.739 MB / 1.329 GB, free: 4.008 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003531/1.151, allocations: 19.88 kB / 1.329 GB, free: 3.988 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006651/1.152, allocations: 194.8 kB / 1.329 GB, free: 3.797 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/1.154, allocations: 0.8241 MB / 1.33 GB, free: 2.973 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007952/1.155, allocations: 351.2 kB / 1.33 GB, free: 2.629 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001299/1.156, allocations: 0.9624 MB / 1.331 GB, free: 1.664 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/1.156, allocations: 206.6 kB / 1.332 GB, free: 1.461 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006925/1.157, allocations: 394.5 kB / 1.332 GB, free: 1.074 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009314/1.158, allocations: 299.9 kB / 1.332 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/1.158, allocations: 32 kB / 1.332 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/1.159, allocations: 0.5337 MB / 1.333 GB, free: 224 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/1.159, allocations: 131.6 kB / 1.333 GB, free: 92 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/1.159, allocations: 179.2 kB / 1.333 GB, free: 15.91 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/1.16, allocations: 0.7394 MB / 1.334 GB, free: 15.18 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.16, allocations: 0 / 1.334 GB, free: 15.18 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.452e-06/1.16, allocations: 7.938 kB / 1.334 GB, free: 15.17 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.186e-05/1.16, allocations: 0 / 1.334 GB, free: 15.17 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.001114/1.162, allocations: 0.6484 MB / 1.334 GB, free: 14.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/1.162, allocations: 12.03 kB / 1.334 GB, free: 14.47 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009844/1.163, allocations: 135.7 kB / 1.335 GB, free: 14.34 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/1.163, allocations: 368 kB / 1.335 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/1.163, allocations: 16.5 kB / 1.335 GB, free: 13.94 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/1.163, allocations: 27.95 kB / 1.335 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/1.164, allocations: 377.6 kB / 1.335 GB, free: 13.51 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.164, allocations: 0 / 1.335 GB, free: 13.51 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/1.164, allocations: 15.94 kB / 1.335 GB, free: 13.49 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/1.164, allocations: 8.5 kB / 1.335 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/1.164, allocations: 197.8 kB / 1.335 GB, free: 13.29 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.001564/1.166, allocations: 0.7965 MB / 1.336 GB, free: 12.46 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/1.166, allocations: 182.8 kB / 1.336 GB, free: 12.27 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/1.166, allocations: 92.81 kB / 1.337 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/1.166, allocations: 4 kB / 1.337 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/1.166, allocations: 30.56 kB / 1.337 GB, free: 12.14 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/1.166, allocations: 0 / 1.337 GB, free: 12.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.0009348/1.167, allocations: 340.6 kB / 1.337 GB, free: 11.8 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.167, allocations: 51.41 kB / 1.337 GB, free: 11.73 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/1.168, allocations: 288.6 kB / 1.337 GB, free: 11.45 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/1.168, allocations: 33.69 kB / 1.337 GB, free: 11.41 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/1.168, allocations: 200.6 kB / 1.337 GB, free: 11.2 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/1.168, allocations: 67.38 kB / 1.338 GB, free: 11.14 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/1.168, allocations: 49.66 kB / 1.338 GB, free: 11.08 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.168, allocations: 338.8 kB / 1.338 GB, free: 10.74 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/1.168, allocations: 59.98 kB / 1.338 GB, free: 10.68 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/1.168, allocations: 118.6 kB / 1.338 GB, free: 10.55 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/1.169, allocations: 197.9 kB / 1.338 GB, free: 10.33 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.169, allocations: 0 / 1.338 GB, free: 10.33 MB / 1.186 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003865/1.169, allocations: 247.2 kB / 1.338 GB, free: 10.09 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.169, allocations: 8 kB / 1.338 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/1.169, allocations: 8.125 kB / 1.338 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.169, allocations: 4 kB / 1.338 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/1.169, allocations: 43.92 kB / 1.339 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.169, allocations: 0 / 1.339 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/1.17, allocations: 23.88 kB / 1.339 GB, free: 10 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/1.17, allocations: 7.938 kB / 1.339 GB, free: 9.992 MB / 1.186 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.0001697/1.17, allocations: 161.8 kB / 1.339 GB, free: 9.824 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/1.17, allocations: 31.81 kB / 1.339 GB, free: 9.793 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.051e-05/1.17, allocations: 38.23 kB / 1.339 GB, free: 9.754 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.17, allocations: 4 kB / 1.339 GB, free: 9.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.17, allocations: 4 kB / 1.339 GB, free: 9.746 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.17, allocations: 0 / 1.339 GB, free: 9.746 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/1.171, allocations: 289.1 kB / 1.339 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.171, allocations: 0 / 1.339 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/1.171, allocations: 31.92 kB / 1.339 GB, free: 9.402 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/1.171, allocations: 40.83 kB / 1.339 GB, free: 9.359 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/1.171, allocations: 4 kB / 1.339 GB, free: 9.355 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/1.172, allocations: 1.397 MB / 1.341 GB, free: 7.855 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.172, allocations: 4.031 kB / 1.341 GB, free: 7.852 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/1.173, allocations: 393.7 kB / 1.341 GB, free: 7.449 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/1.173, allocations: 51.78 kB / 1.341 GB, free: 7.398 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/1.173, allocations: 7.984 kB / 1.341 GB, free: 7.391 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/1.173, allocations: 7.938 kB / 1.341 GB, free: 7.383 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/1.173, allocations: 15.92 kB / 1.341 GB, free: 7.367 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/1.173, allocations: 7.984 kB / 1.341 GB, free: 7.359 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002319/1.174, allocations: 215.1 kB / 1.341 GB, free: 7.152 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.174, allocations: 0 / 1.341 GB, free: 7.152 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004136/1.174, allocations: 111.8 kB / 1.341 GB, free: 7.043 MB / 1.186 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.0001778/1.174, allocations: 115.3 kB / 1.341 GB, free: 6.922 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003025/1.175, allocations: 154 kB / 1.342 GB, free: 6.773 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.175, allocations: 4 kB / 1.342 GB, free: 6.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/1.175, allocations: 198.5 kB / 1.342 GB, free: 6.562 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000968/1.176, allocations: 200.3 kB / 1.342 GB, free: 6.375 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/1.177, allocations: 0.7203 MB / 1.343 GB, free: 5.621 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/1.177, allocations: 194 kB / 1.343 GB, free: 5.414 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002125/1.178, allocations: 58.94 kB / 1.343 GB, free: 5.359 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/1.178, allocations: 36.48 kB / 1.343 GB, free: 5.324 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/1.178, allocations: 3.938 kB / 1.343 GB, free: 5.32 MB / 1.186 GB Notification: Performance of Templates: time 0.01256/1.19, allocations: 6.427 MB / 1.349 GB, free: 15.05 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.13278432097286]