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.001339/0.001339, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001454/0.001454, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.002995/0.002995, allocations: 69.56 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3773, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.195/0.5723, allocations: 143.1 MB / 1.467 GB, free: 1.316 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005068/0.5774, allocations: 2.739 MB / 1.47 GB, free: 14.57 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004712/0.5778, allocations: 23.81 kB / 1.47 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.5785, allocations: 190.8 kB / 1.47 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.5805, allocations: 0.8245 MB / 1.471 GB, free: 13.53 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008148/0.5813, allocations: 350.1 kB / 1.471 GB, free: 13.19 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.5826, allocations: 0.9703 MB / 1.472 GB, free: 12.22 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.583, allocations: 210.5 kB / 1.472 GB, free: 12.01 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.5836, allocations: 394.6 kB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008869/0.5845, allocations: 310.4 kB / 1.473 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.5846, allocations: 36 kB / 1.473 GB, free: 11.29 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.5857, allocations: 0.5376 MB / 1.473 GB, free: 10.75 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.5858, allocations: 135.6 kB / 1.473 GB, free: 10.61 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.586, allocations: 179.2 kB / 1.474 GB, free: 10.44 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.5871, allocations: 0.7319 MB / 1.474 GB, free: 9.703 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5871, allocations: 4 kB / 1.474 GB, free: 9.699 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5871, allocations: 3.938 kB / 1.474 GB, free: 9.695 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.5871, allocations: 4 kB / 1.474 GB, free: 9.691 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.001181/0.5883, allocations: 0.6446 MB / 1.475 GB, free: 9.016 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5883, allocations: 12.03 kB / 1.475 GB, free: 9.004 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.5894, allocations: 135.6 kB / 1.475 GB, free: 8.871 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.5901, allocations: 364 kB / 1.475 GB, free: 8.484 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.5901, allocations: 20.44 kB / 1.475 GB, free: 8.465 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.5902, allocations: 28 kB / 1.475 GB, free: 8.438 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.5907, allocations: 373.6 kB / 1.476 GB, free: 8.039 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5908, allocations: 0 / 1.476 GB, free: 8.039 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.5908, allocations: 15.94 kB / 1.476 GB, free: 8.023 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.5908, allocations: 8.5 kB / 1.476 GB, free: 8.016 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.5912, allocations: 201.8 kB / 1.476 GB, free: 7.816 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.001547/0.5927, allocations: 0.7926 MB / 1.477 GB, free: 6.992 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.5932, allocations: 182.8 kB / 1.477 GB, free: 6.805 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.5933, allocations: 80.83 kB / 1.477 GB, free: 6.723 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.5933, allocations: 8 kB / 1.477 GB, free: 6.715 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5934, allocations: 38.84 kB / 1.477 GB, free: 6.668 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.5934, allocations: 0 / 1.477 GB, free: 6.668 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.0009683/0.5943, allocations: 323.3 kB / 1.477 GB, free: 6.344 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.5944, allocations: 59.41 kB / 1.477 GB, free: 6.273 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.5947, allocations: 296.4 kB / 1.478 GB, free: 5.977 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.5947, allocations: 33.69 kB / 1.478 GB, free: 5.938 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.5949, allocations: 200.6 kB / 1.478 GB, free: 5.738 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.595, allocations: 67.39 kB / 1.478 GB, free: 5.672 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.595, allocations: 45.7 kB / 1.478 GB, free: 5.621 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5952, allocations: 342.8 kB / 1.478 GB, free: 5.277 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.5953, allocations: 59.98 kB / 1.478 GB, free: 5.219 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.5955, allocations: 119.7 kB / 1.479 GB, free: 5.082 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.5958, allocations: 203.5 kB / 1.479 GB, free: 4.863 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5958, allocations: 3.938 kB / 1.479 GB, free: 4.859 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003792/0.5961, allocations: 243 kB / 1.479 GB, free: 4.617 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5962, allocations: 4 kB / 1.479 GB, free: 4.613 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.5962, allocations: 8.125 kB / 1.479 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5962, allocations: 4 kB / 1.479 GB, free: 4.602 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.5964, allocations: 47.92 kB / 1.479 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.5964, allocations: 4 kB / 1.479 GB, free: 4.551 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.5967, allocations: 19.84 kB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.5967, allocations: 19.92 kB / 1.479 GB, free: 4.512 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.0001746/0.5969, allocations: 161.7 kB / 1.479 GB, free: 4.344 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.597, allocations: 27.86 kB / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.5971, allocations: 38.23 kB / 1.479 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5971, allocations: 0 / 1.479 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5971, allocations: 0 / 1.479 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5971, allocations: 4 kB / 1.479 GB, free: 4.273 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.5976, allocations: 285.1 kB / 1.48 GB, free: 3.965 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5976, allocations: 0 / 1.48 GB, free: 3.965 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.5978, allocations: 27.98 kB / 1.48 GB, free: 3.938 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.598, allocations: 48.77 kB / 1.48 GB, free: 3.887 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.598, allocations: 4 kB / 1.48 GB, free: 3.883 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.5995, allocations: 1.385 MB / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5995, allocations: 0 / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.6001, allocations: 402 kB / 1.481 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.6002, allocations: 47.78 kB / 1.481 GB, free: 1.934 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.6002, allocations: 11.98 kB / 1.481 GB, free: 1.922 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.6005, allocations: 4 kB / 1.481 GB, free: 1.918 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.6005, allocations: 11.92 kB / 1.481 GB, free: 1.906 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.6006, allocations: 11.98 kB / 1.481 GB, free: 1.895 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002204/0.6008, allocations: 211.1 kB / 1.482 GB, free: 1.691 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6008, allocations: 8 kB / 1.482 GB, free: 1.684 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00043/0.6012, allocations: 103.8 kB / 1.482 GB, free: 1.582 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.0001873/0.6014, allocations: 123.9 kB / 1.482 GB, free: 1.453 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.6017, allocations: 159.8 kB / 1.482 GB, free: 1.297 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6017, allocations: 0 / 1.482 GB, free: 1.297 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.602, allocations: 196 kB / 1.482 GB, free: 1.094 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009849/0.603, allocations: 212.4 kB / 1.482 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.6043, allocations: 0.7375 MB / 1.483 GB, free: 128 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.6045, allocations: 186.1 kB / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.6047, allocations: 66.92 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.6048, allocations: 27.42 kB / 1.483 GB, free: 15.83 MB / 1.186 GB Notification: Performance of SimCode: time 4.41e-07/0.6048, allocations: 3.938 kB / 1.483 GB, free: 15.83 MB / 1.186 GB Notification: Performance of Templates: time 0.01339/0.6182, allocations: 6.991 MB / 1.49 GB, free: 9.008 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 -s cvode -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.431258953991346]