Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00165/0.00165, allocations: 103.6 kB / 16.27 MB, free: 6.414 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.001563/0.001563, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.463/1.463, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001895, allocations: 68.52 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3018, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.6122/0.9141, allocations: 72.76 MB / 1.089 GB, free: 16.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02879/0.9429, allocations: 18.81 MB / 1.107 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004526/0.9475, allocations: 92.97 kB / 1.107 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.958, allocations: 4.242 MB / 1.112 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008549/0.9666, allocations: 2.421 MB / 1.114 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006719/0.9733, allocations: 2.085 MB / 1.116 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01595/0.9893, allocations: 10.82 MB / 1.127 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008217/0.9975, allocations: 6.14 MB / 1.133 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008466/1.006, allocations: 3.235 MB / 1.136 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005718/1.012, allocations: 2.538 MB / 1.138 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001562/1.013, allocations: 260.5 kB / 1.138 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00672/1.02, allocations: 1.537 MB / 1.14 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002088/1.022, allocations: 0.9014 MB / 1.141 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005538/1.028, allocations: 1.951 MB / 1.143 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/1.039, allocations: 5.251 MB / 1.148 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.039, allocations: 0 / 1.148 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.039, allocations: 0 / 1.148 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002561/1.04, allocations: 4 kB / 1.148 GB, free: 15.01 MB / 0.8575 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.01426/1.054, allocations: 4.35 MB / 1.152 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/1.054, allocations: 14.47 kB / 1.152 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/1.058, allocations: 0.6813 MB / 1.153 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009259/1.067, allocations: 3.632 MB / 1.156 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/1.068, allocations: 142 kB / 1.157 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008039/1.068, allocations: 184.9 kB / 1.157 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00628/1.075, allocations: 2.363 MB / 1.159 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/1.075, allocations: 6.5 kB / 1.159 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/1.075, allocations: 68.59 kB / 1.159 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/1.075, allocations: 42.38 kB / 1.159 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/1.08, allocations: 1.913 MB / 1.161 GB, free: 6.426 MB / 0.8575 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.1, allocations: 11.54 MB / 1.172 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/1.104, allocations: 1.352 MB / 1.174 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/1.106, allocations: 1.009 MB / 1.175 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008187/1.114, allocations: 3.727 MB / 1.178 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/1.116, allocations: 0.7741 MB / 1.179 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001951/1.118, allocations: 234.8 kB / 1.179 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=94): time 7.875e-06/1.118, allocations: 0 / 1.179 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94): time 0.01378/1.132, allocations: 4.267 MB / 1.183 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/1.132, allocations: 64.34 kB / 1.183 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007517/1.139, allocations: 3.455 MB / 1.187 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003961/1.14, allocations: 65.62 kB / 1.187 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.141, allocations: 1.57 MB / 1.188 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005249/1.142, allocations: 339.2 kB / 1.189 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007438/1.143, allocations: 459.4 kB / 1.189 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.143, allocations: 305.1 kB / 1.189 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/1.145, allocations: 0.8722 MB / 1.19 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/1.147, allocations: 1.674 MB / 1.192 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003937/1.151, allocations: 2.267 MB / 1.194 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.151, allocations: 8 kB / 1.194 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007578/1.159, allocations: 3.341 MB / 1.197 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.756e-05/1.159, allocations: 45.69 kB / 1.197 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/1.159, allocations: 16 kB / 1.197 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/1.161, allocations: 0.6851 MB / 1.198 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/1.163, allocations: 349.3 kB / 1.198 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/1.165, allocations: 1.912 MB / 1.2 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.168, allocations: 125.3 kB / 1.2 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/1.168, allocations: 95.95 kB / 1.201 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00305/1.171, allocations: 1.584 MB / 1.202 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002255/1.173, allocations: 1.649 MB / 1.204 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003496/1.177, allocations: 2.202 MB / 1.206 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.207e-06/1.177, allocations: 4 kB / 1.206 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006436/1.183, allocations: 3.225 MB / 1.209 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/1.183, allocations: 37.7 kB / 1.209 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.183, allocations: 16 kB / 1.209 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009454/1.184, allocations: 481.9 kB / 1.209 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.186, allocations: 353.3 kB / 1.21 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007855/1.194, allocations: 6.326 MB / 1.216 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/1.197, allocations: 141.8 kB / 1.216 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/1.197, allocations: 87.97 kB / 1.216 GB, free: 13.7 MB / 0.92 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.0006407/1.198, allocations: 303.6 kB / 1.217 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009605/1.199, allocations: 335.8 kB / 1.217 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005544/1.204, allocations: 2.486 MB / 1.219 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/1.204, allocations: 12 kB / 1.219 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.204, allocations: 0 / 1.219 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003802/1.208, allocations: 2.082 MB / 1.221 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009472/1.218, allocations: 4.588 MB / 1.226 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.218, allocations: 0 / 1.226 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009086/1.219, allocations: 173.7 kB / 1.226 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/1.22, allocations: 477.1 kB / 1.226 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/1.22, allocations: 27.98 kB / 1.226 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/1.222, allocations: 1.854 MB / 1.228 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.222, allocations: 0 / 1.228 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006734/1.229, allocations: 3.199 MB / 1.231 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/1.23, allocations: 0.524 MB / 1.232 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/1.231, allocations: 27.98 kB / 1.232 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.232, allocations: 75.91 kB / 1.232 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.233, allocations: 80.83 kB / 1.232 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.233, allocations: 47.97 kB / 1.232 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003939/1.237, allocations: 2.343 MB / 1.234 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/1.237, allocations: 0 / 1.234 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005319/1.242, allocations: 1.513 MB / 1.236 GB, free: 9.254 MB / 0.9356 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.001702/1.244, allocations: 0.5987 MB / 1.236 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008358/1.252, allocations: 3.977 MB / 1.24 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.252, allocations: 0 / 1.24 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/1.254, allocations: 0.8044 MB / 1.241 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007164/1.261, allocations: 1.451 MB / 1.243 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.274, allocations: 6.121 MB / 1.249 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/1.276, allocations: 2.241 MB / 1.251 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.277, allocations: 251.3 kB / 1.251 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/1.277, allocations: 0 / 1.251 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.1217/1.399, allocations: 84.33 MB / 1.333 GB, free: 5.723 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches