Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7634 GB, free: 15.18 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.12 kB / 1.108 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22/1.222, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.09102/1.313, allocations: 73.33 MB / 1.344 GB, free: 3.496 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03667/1.35, allocations: 18.87 MB / 1.362 GB, free: 6.145 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005669/1.355, allocations: 95.94 kB / 1.363 GB, free: 6.109 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00744/1.363, allocations: 1.819 MB / 1.364 GB, free: 5.273 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/1.374, allocations: 2.605 MB / 1.367 GB, free: 3.742 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.007918/1.382, allocations: 2.173 MB / 1.369 GB, free: 2.602 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02037/1.402, allocations: 11.03 MB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00913/1.411, allocations: 5.458 MB / 1.385 GB, free: 9.059 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009594/1.421, allocations: 3.374 MB / 1.388 GB, free: 7.148 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006603/1.427, allocations: 2.679 MB / 1.391 GB, free: 5.531 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/1.428, allocations: 265.8 kB / 1.391 GB, free: 5.531 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006119/1.434, allocations: 1.591 MB / 1.393 GB, free: 4.809 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/1.436, allocations: 0.9344 MB / 1.394 GB, free: 4.105 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004624/1.441, allocations: 1.961 MB / 1.396 GB, free: 2.809 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01092/1.451, allocations: 5.383 MB / 1.401 GB, free: 15.24 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.451, allocations: 0 / 1.401 GB, free: 15.24 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.004e-06/1.451, allocations: 0.9688 kB / 1.401 GB, free: 15.24 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001887/1.452, allocations: 4 kB / 1.401 GB, free: 15.24 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01147/1.463, allocations: 4.392 MB / 1.405 GB, free: 12.03 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.463, allocations: 9.5 kB / 1.405 GB, free: 12.03 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/1.467, allocations: 0.6985 MB / 1.406 GB, free: 11.69 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008873/1.476, allocations: 3.834 MB / 1.41 GB, free: 8.281 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/1.476, allocations: 139.2 kB / 1.41 GB, free: 8.145 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/1.476, allocations: 188 kB / 1.41 GB, free: 7.961 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/1.481, allocations: 2.352 MB / 1.412 GB, free: 5.461 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/1.481, allocations: 3.938 kB / 1.412 GB, free: 5.457 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/1.481, allocations: 68 kB / 1.412 GB, free: 5.391 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/1.481, allocations: 40 kB / 1.412 GB, free: 5.352 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/1.486, allocations: 1.955 MB / 1.414 GB, free: 3.391 MB / 1.092 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.0202/1.506, allocations: 11.71 MB / 1.426 GB, free: 7.199 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/1.509, allocations: 1.348 MB / 1.427 GB, free: 5.844 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/1.511, allocations: 0.9912 MB / 1.428 GB, free: 4.848 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008725/1.52, allocations: 4.106 MB / 1.432 GB, free: 480 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001855/1.522, allocations: 0.8834 MB / 1.433 GB, free: 15.57 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002673/1.524, allocations: 490.7 kB / 1.433 GB, free: 15.09 MB / 1.123 GB Notification: Performance of pre-optimization done (n=95): time 7.113e-06/1.524, allocations: 4 kB / 1.433 GB, free: 15.09 MB / 1.123 GB Notification: Performance of matching and sorting (n=95): time 0.0136/1.538, allocations: 4.517 MB / 1.438 GB, free: 10.52 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/1.538, allocations: 64.39 kB / 1.438 GB, free: 10.45 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006253/1.544, allocations: 3.479 MB / 1.441 GB, free: 6.941 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004422/1.545, allocations: 57.7 kB / 1.441 GB, free: 6.879 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001774/1.546, allocations: 1.578 MB / 1.443 GB, free: 5.289 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/1.547, allocations: 361 kB / 1.443 GB, free: 4.934 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007851/1.548, allocations: 479.6 kB / 1.444 GB, free: 4.461 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.548, allocations: 301.1 kB / 1.444 GB, free: 4.164 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001983/1.55, allocations: 0.9659 MB / 1.445 GB, free: 3.195 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/1.552, allocations: 1.768 MB / 1.447 GB, free: 1.059 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00426/1.557, allocations: 2.474 MB / 1.449 GB, free: 14.36 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.557, allocations: 4 kB / 1.449 GB, free: 14.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008392/1.565, allocations: 3.535 MB / 1.452 GB, free: 10.8 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 7.271e-05/1.565, allocations: 43.88 kB / 1.452 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.449e-05/1.565, allocations: 16 kB / 1.452 GB, free: 10.74 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/1.568, allocations: 0.688 MB / 1.453 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/1.57, allocations: 369.2 kB / 1.453 GB, free: 9.684 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/1.572, allocations: 1.909 MB / 1.455 GB, free: 7.723 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/1.575, allocations: 124.4 kB / 1.455 GB, free: 7.602 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003841/1.575, allocations: 99.92 kB / 1.456 GB, free: 7.504 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003768/1.579, allocations: 1.683 MB / 1.457 GB, free: 5.816 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002877/1.582, allocations: 1.739 MB / 1.459 GB, free: 3.715 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004334/1.586, allocations: 2.402 MB / 1.461 GB, free: 1.09 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.158e-05/1.586, allocations: 8 kB / 1.461 GB, free: 1.082 MB / 1.139 GB Notification: Performance of matching and sorting (n=250) (initialization_lambda0): time 0.007571/1.594, allocations: 3.422 MB / 1.465 GB, free: 13.61 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/1.594, allocations: 38.64 kB / 1.465 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-05/1.594, allocations: 19.94 kB / 1.465 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/1.595, allocations: 477.1 kB / 1.465 GB, free: 13.08 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.597, allocations: 361.3 kB / 1.465 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008419/1.605, allocations: 6.334 MB / 1.472 GB, free: 6.098 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/1.608, allocations: 140.9 kB / 1.472 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004715/1.609, allocations: 99.94 kB / 1.472 GB, free: 5.863 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0008562/1.61, allocations: 300.6 kB / 1.472 GB, free: 5.562 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.611, allocations: 353.7 kB / 1.472 GB, free: 5.215 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006629/1.618, allocations: 2.619 MB / 1.475 GB, free: 2.574 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/1.618, allocations: 15.94 kB / 1.475 GB, free: 2.559 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.618, allocations: 0 / 1.475 GB, free: 2.559 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004156/1.622, allocations: 2.176 MB / 1.477 GB, free: 312 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/1.633, allocations: 4.815 MB / 1.482 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.633, allocations: 4 kB / 1.482 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009689/1.634, allocations: 181.6 kB / 1.482 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/1.636, allocations: 480.8 kB / 1.483 GB, free: 10.75 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/1.636, allocations: 31.97 kB / 1.483 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/1.638, allocations: 1.842 MB / 1.484 GB, free: 8.828 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.638, allocations: 8.062 kB / 1.484 GB, free: 8.82 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/1.645, allocations: 3.388 MB / 1.488 GB, free: 5.398 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/1.647, allocations: 0.561 MB / 1.488 GB, free: 4.816 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/1.648, allocations: 20 kB / 1.488 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.65, allocations: 83.89 kB / 1.488 GB, free: 4.715 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/1.65, allocations: 76.88 kB / 1.488 GB, free: 4.641 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.65, allocations: 39.98 kB / 1.488 GB, free: 4.602 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.005351/1.656, allocations: 2.355 MB / 1.491 GB, free: 2.234 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.656, allocations: 0 / 1.491 GB, free: 2.234 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.007376/1.663, allocations: 1.544 MB / 1.492 GB, free: 0.6875 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002094/1.665, allocations: 0.5938 MB / 1.493 GB, free: 92 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008533/1.674, allocations: 3.754 MB / 1.496 GB, free: 12.29 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.674, allocations: 0 / 1.496 GB, free: 12.29 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.676, allocations: 0.7853 MB / 1.497 GB, free: 11.5 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008525/1.684, allocations: 1.455 MB / 1.499 GB, free: 10.07 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.7, allocations: 6.228 MB / 1.505 GB, free: 3.793 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/1.703, allocations: 2.237 MB / 1.507 GB, free: 1.523 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.704, allocations: 259.3 kB / 1.507 GB, free: 1.27 MB / 1.186 GB Notification: Performance of SimCode: time 1.663e-06/1.704, allocations: 0 / 1.507 GB, free: 1.27 MB / 1.186 GB Notification: Performance of Templates: time 0.1304/1.835, allocations: 85.8 MB / 1.591 GB, free: 11.81 MB / 1.279 GB [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches