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.001744/0.001744, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002297/0.002297, allocations: 217.8 kB / 23.04 MB, free: 4.863 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.239/3.239, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.00206/0.00206, allocations: 70.7 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3761, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1976/0.5736, allocations: 143.1 MB / 1.467 GB, free: 1.289 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005364/0.579, allocations: 2.745 MB / 1.47 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.5795, allocations: 19.88 kB / 1.47 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.5803, allocations: 194.8 kB / 1.47 GB, free: 14.33 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.5826, allocations: 0.8128 MB / 1.471 GB, free: 13.51 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009095/0.5835, allocations: 351.2 kB / 1.471 GB, free: 13.17 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.585, allocations: 0.9624 MB / 1.472 GB, free: 12.2 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.5854, allocations: 206.5 kB / 1.472 GB, free: 12 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007103/0.5861, allocations: 390.6 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009877/0.5871, allocations: 297.3 kB / 1.473 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.5871, allocations: 36 kB / 1.473 GB, free: 11.29 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.5882, allocations: 0.5298 MB / 1.473 GB, free: 10.76 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.5884, allocations: 143.5 kB / 1.473 GB, free: 10.62 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.5886, allocations: 175.2 kB / 1.474 GB, free: 10.45 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.5897, allocations: 0.7358 MB / 1.474 GB, free: 9.707 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5897, allocations: 0 / 1.474 GB, free: 9.707 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5897, allocations: 4 kB / 1.474 GB, free: 9.703 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5897, allocations: 0 / 1.474 GB, free: 9.703 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.00119/0.5909, allocations: 0.6523 MB / 1.475 GB, free: 9.02 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.591, allocations: 8.031 kB / 1.475 GB, free: 9.012 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.592, allocations: 143.6 kB / 1.475 GB, free: 8.871 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.5927, allocations: 360 kB / 1.475 GB, free: 8.488 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.5927, allocations: 24.5 kB / 1.475 GB, free: 8.465 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.5927, allocations: 24 kB / 1.475 GB, free: 8.441 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.5933, allocations: 381.6 kB / 1.476 GB, free: 8.035 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.5933, allocations: 3.938 kB / 1.476 GB, free: 8.031 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.5933, allocations: 8 kB / 1.476 GB, free: 8.023 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.5934, allocations: 12.5 kB / 1.476 GB, free: 8.012 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.5937, allocations: 189.9 kB / 1.476 GB, free: 7.824 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.00152/0.5952, allocations: 0.7965 MB / 1.477 GB, free: 6.996 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.5956, allocations: 186.7 kB / 1.477 GB, free: 6.805 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.5958, allocations: 84.83 kB / 1.477 GB, free: 6.719 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.5958, allocations: 0 / 1.477 GB, free: 6.719 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5958, allocations: 38.91 kB / 1.477 GB, free: 6.672 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.5958, allocations: 4 kB / 1.477 GB, free: 6.668 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.0009209/0.5968, allocations: 323.4 kB / 1.477 GB, free: 6.344 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5968, allocations: 55.41 kB / 1.477 GB, free: 6.277 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.5971, allocations: 292.5 kB / 1.478 GB, free: 5.98 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.5972, allocations: 37.7 kB / 1.478 GB, free: 5.938 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.5973, allocations: 192.6 kB / 1.478 GB, free: 5.746 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.5974, allocations: 75.38 kB / 1.478 GB, free: 5.672 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.5975, allocations: 37.72 kB / 1.478 GB, free: 5.629 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.5976, allocations: 342.8 kB / 1.478 GB, free: 5.285 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.5977, allocations: 59.98 kB / 1.478 GB, free: 5.227 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.5979, allocations: 123.7 kB / 1.479 GB, free: 5.086 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.5982, allocations: 203.6 kB / 1.479 GB, free: 4.867 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5982, allocations: 0 / 1.479 GB, free: 4.867 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003707/0.5986, allocations: 246.9 kB / 1.479 GB, free: 4.621 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5986, allocations: 8 kB / 1.479 GB, free: 4.613 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.5986, allocations: 3.938 kB / 1.479 GB, free: 4.609 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5986, allocations: 4 kB / 1.479 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.5988, allocations: 48.11 kB / 1.479 GB, free: 4.559 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5988, allocations: 4 kB / 1.479 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.5991, allocations: 23.77 kB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.5991, allocations: 12 kB / 1.479 GB, free: 4.52 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.0001691/0.5993, allocations: 161.7 kB / 1.479 GB, free: 4.352 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.5993, allocations: 27.86 kB / 1.479 GB, free: 4.324 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.5994, allocations: 42.23 kB / 1.479 GB, free: 4.281 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5994, allocations: 0 / 1.479 GB, free: 4.281 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.5994, allocations: 4 kB / 1.479 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5994, allocations: 0 / 1.479 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.6, allocations: 281.1 kB / 1.48 GB, free: 3.973 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6, allocations: 3.938 kB / 1.48 GB, free: 3.969 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.6001, allocations: 39.92 kB / 1.48 GB, free: 3.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/0.6004, allocations: 36.83 kB / 1.48 GB, free: 3.891 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.6004, allocations: 12 kB / 1.48 GB, free: 3.879 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.6019, allocations: 1.378 MB / 1.481 GB, free: 2.395 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6019, allocations: 4.203 kB / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.6025, allocations: 405.7 kB / 1.481 GB, free: 1.977 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.6026, allocations: 51.77 kB / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.6027, allocations: 11.98 kB / 1.481 GB, free: 1.914 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.6029, allocations: 8 kB / 1.481 GB, free: 1.906 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.6029, allocations: 11.92 kB / 1.482 GB, free: 1.895 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.603, allocations: 11.98 kB / 1.482 GB, free: 1.883 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002306/0.6032, allocations: 207.1 kB / 1.482 GB, free: 1.684 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6032, allocations: 4 kB / 1.482 GB, free: 1.68 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004392/0.6036, allocations: 111.8 kB / 1.482 GB, free: 1.57 MB / 1.17 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.000203/0.6038, allocations: 103.2 kB / 1.482 GB, free: 1.461 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003194/0.6041, allocations: 169.7 kB / 1.482 GB, free: 1.297 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6042, allocations: 0 / 1.482 GB, free: 1.297 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.6045, allocations: 190.6 kB / 1.482 GB, free: 1.098 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.6054, allocations: 198.2 kB / 1.482 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.6068, allocations: 0.7831 MB / 1.483 GB, free: 92 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.607, allocations: 194 kB / 1.483 GB, free: 15.88 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.6071, allocations: 27.44 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of SimCode: time 3.1e-07/0.6071, allocations: 0 / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of Templates: time 0.009587/0.6166, allocations: 5.85 MB / 1.489 GB, free: 10.05 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: 12.648262060945854]