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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008084/0.008084, allocations: 102.3 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 198.1 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.628/2.628, allocations: 469.8 MB / 0.7425 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9037/0.9051, allocations: 159.1 MB / 1.221 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07909/0.9842, allocations: 72.9 MB / 1.292 GB, free: 8.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03053/1.015, allocations: 18.85 MB / 1.31 GB, free: 6.039 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/1.02, allocations: 95.44 kB / 1.31 GB, free: 5.945 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006657/1.026, allocations: 1.828 MB / 1.312 GB, free: 4.113 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009131/1.035, allocations: 2.597 MB / 1.315 GB, free: 1.508 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00666/1.042, allocations: 2.164 MB / 1.317 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01575/1.058, allocations: 10.97 MB / 1.327 GB, free: 4.363 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008699/1.066, allocations: 5.43 MB / 1.333 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008205/1.075, allocations: 3.358 MB / 1.336 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004955/1.08, allocations: 2.564 MB / 1.339 GB, free: 8.922 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001257/1.081, allocations: 268 kB / 1.339 GB, free: 8.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004887/1.086, allocations: 1.556 MB / 1.34 GB, free: 7.102 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/1.087, allocations: 0.9299 MB / 1.341 GB, free: 6.168 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004319/1.092, allocations: 1.955 MB / 1.343 GB, free: 4.203 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01456/1.106, allocations: 5.386 MB / 1.348 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.106, allocations: 0 / 1.348 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.575e-06/1.106, allocations: 0 / 1.348 GB, free: 14.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003141/1.107, allocations: 0 / 1.348 GB, free: 14.8 MB / 1.076 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.01319/1.12, allocations: 4.499 MB / 1.353 GB, free: 10.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.12, allocations: 8.031 kB / 1.353 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/1.124, allocations: 0.6962 MB / 1.353 GB, free: 9.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008969/1.133, allocations: 3.843 MB / 1.357 GB, free: 5.602 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/1.133, allocations: 143.1 kB / 1.357 GB, free: 5.461 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006756/1.133, allocations: 184 kB / 1.358 GB, free: 5.281 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005254/1.139, allocations: 2.356 MB / 1.36 GB, free: 2.766 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/1.139, allocations: 7.875 kB / 1.36 GB, free: 2.758 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/1.139, allocations: 72 kB / 1.36 GB, free: 2.688 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/1.139, allocations: 40 kB / 1.36 GB, free: 2.648 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/1.143, allocations: 1.908 MB / 1.362 GB, free: 0.7344 MB / 1.076 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.01721/1.161, allocations: 11.5 MB / 1.373 GB, free: 4.734 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/1.164, allocations: 1.246 MB / 1.374 GB, free: 3.48 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/1.166, allocations: 0.8973 MB / 1.375 GB, free: 2.582 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007491/1.173, allocations: 3.726 MB / 1.379 GB, free: 14.59 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/1.175, allocations: 0.7702 MB / 1.38 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001547/1.176, allocations: 243 kB / 1.38 GB, free: 13.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=94): time 6.793e-06/1.176, allocations: 0 / 1.38 GB, free: 13.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=94): time 0.01282/1.189, allocations: 4.239 MB / 1.384 GB, free: 9.273 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/1.189, allocations: 60.41 kB / 1.384 GB, free: 9.203 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006717/1.196, allocations: 3.475 MB / 1.387 GB, free: 5.703 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003552/1.196, allocations: 65.69 kB / 1.387 GB, free: 5.633 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/1.198, allocations: 1.582 MB / 1.389 GB, free: 4.039 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/1.199, allocations: 353 kB / 1.389 GB, free: 3.691 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/1.2, allocations: 463.6 kB / 1.39 GB, free: 3.23 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/1.2, allocations: 301.1 kB / 1.39 GB, free: 2.934 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/1.201, allocations: 0.8722 MB / 1.391 GB, free: 2.059 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/1.204, allocations: 1.674 MB / 1.393 GB, free: 20 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/1.207, allocations: 2.263 MB / 1.395 GB, free: 13.54 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.207, allocations: 4 kB / 1.395 GB, free: 13.53 MB / 1.123 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007399/1.215, allocations: 3.332 MB / 1.398 GB, free: 10.18 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/1.215, allocations: 39.73 kB / 1.398 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/1.215, allocations: 16 kB / 1.398 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/1.217, allocations: 0.6919 MB / 1.399 GB, free: 9.422 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.219, allocations: 349.3 kB / 1.399 GB, free: 9.082 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/1.221, allocations: 1.905 MB / 1.401 GB, free: 7.125 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/1.224, allocations: 124.7 kB / 1.401 GB, free: 7.004 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/1.224, allocations: 95.94 kB / 1.401 GB, free: 6.91 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003339/1.227, allocations: 1.589 MB / 1.403 GB, free: 5.316 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002154/1.23, allocations: 1.633 MB / 1.404 GB, free: 3.316 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003377/1.233, allocations: 2.207 MB / 1.406 GB, free: 0.875 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.454e-05/1.233, allocations: 4 kB / 1.406 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006077/1.239, allocations: 3.218 MB / 1.41 GB, free: 13.61 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/1.239, allocations: 37.7 kB / 1.41 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.239, allocations: 16.91 kB / 1.41 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/1.24, allocations: 481.4 kB / 1.41 GB, free: 13.08 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/1.241, allocations: 357.2 kB / 1.41 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/1.248, allocations: 6.339 MB / 1.417 GB, free: 6.098 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/1.251, allocations: 140.9 kB / 1.417 GB, free: 5.961 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003194/1.251, allocations: 87.97 kB / 1.417 GB, free: 5.875 MB / 1.139 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 (169): * Single equations (assignments): 164 * 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.0006516/1.252, allocations: 296.1 kB / 1.417 GB, free: 5.578 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009664/1.253, allocations: 345.7 kB / 1.417 GB, free: 5.238 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005591/1.259, allocations: 2.462 MB / 1.42 GB, free: 2.75 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/1.259, allocations: 19.88 kB / 1.42 GB, free: 2.73 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.259, allocations: 0 / 1.42 GB, free: 2.73 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003512/1.262, allocations: 2.043 MB / 1.422 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009558/1.272, allocations: 4.542 MB / 1.426 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.272, allocations: 3.938 kB / 1.426 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008815/1.273, allocations: 169.7 kB / 1.426 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/1.274, allocations: 485.1 kB / 1.427 GB, free: 11.35 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.674e-05/1.274, allocations: 39.91 kB / 1.427 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/1.275, allocations: 1.838 MB / 1.429 GB, free: 9.422 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.275, allocations: 3.938 kB / 1.429 GB, free: 9.418 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005889/1.281, allocations: 3.181 MB / 1.432 GB, free: 6.199 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.283, allocations: 0.5415 MB / 1.432 GB, free: 5.637 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008021/1.283, allocations: 24 kB / 1.432 GB, free: 5.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/1.285, allocations: 83.88 kB / 1.433 GB, free: 5.531 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.285, allocations: 72.89 kB / 1.433 GB, free: 5.461 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.286, allocations: 47.97 kB / 1.433 GB, free: 5.414 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004662/1.29, allocations: 2.351 MB / 1.435 GB, free: 3.051 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.29, allocations: 0 / 1.435 GB, free: 3.051 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005544/1.296, allocations: 1.521 MB / 1.436 GB, free: 1.527 MB / 1.154 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 (78): * Single equations (assignments): 70 * 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.001653/1.297, allocations: 0.5994 MB / 1.437 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007017/1.304, allocations: 3.48 MB / 1.44 GB, free: 13.4 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.304, allocations: 0 / 1.44 GB, free: 13.4 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/1.306, allocations: 0.7224 MB / 1.441 GB, free: 12.68 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006753/1.313, allocations: 1.459 MB / 1.443 GB, free: 11.24 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.326, allocations: 6.035 MB / 1.448 GB, free: 5.164 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/1.328, allocations: 2.245 MB / 1.451 GB, free: 2.891 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.003412/1.332, allocations: 0.8306 MB / 1.451 GB, free: 2.055 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008292/1.332, allocations: 239.3 kB / 1.452 GB, free: 1.82 MB / 1.17 GB Notification: Performance of SimCode: time 1.433e-06/1.332, allocations: 0 / 1.452 GB, free: 1.82 MB / 1.17 GB Notification: Performance of Templates: time 0.1004/1.433, allocations: 61.07 MB / 1.511 GB, free: 5.59 MB / 1.232 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches