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.009662/0.009662, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001593/0.001593, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.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.572/2.572, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.332, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.069/0.4011, allocations: 72.78 MB / 1.238 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.794/1.195, allocations: 18.8 MB / 1.256 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/1.199, allocations: 95.75 kB / 1.256 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005678/1.205, allocations: 1.809 MB / 1.258 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00771/1.213, allocations: 2.599 MB / 1.26 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005569/1.218, allocations: 2.163 MB / 1.263 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01941/1.238, allocations: 10.97 MB / 1.273 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009903/1.248, allocations: 6.177 MB / 1.279 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009698/1.257, allocations: 3.365 MB / 1.283 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006496/1.264, allocations: 2.57 MB / 1.285 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009232/1.265, allocations: 265.5 kB / 1.285 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005322/1.27, allocations: 1.551 MB / 1.287 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/1.271, allocations: 0.9054 MB / 1.288 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004088/1.275, allocations: 1.959 MB / 1.29 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/1.286, allocations: 5.38 MB / 1.295 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.286, allocations: 4 kB / 1.295 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.286, allocations: 1.219 kB / 1.295 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001473/1.286, allocations: 0 / 1.295 GB, free: 8.812 MB / 0.9981 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.01031/1.296, allocations: 4.506 MB / 1.299 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.296, allocations: 15.38 kB / 1.299 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/1.299, allocations: 0.6928 MB / 1.3 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007837/1.307, allocations: 3.835 MB / 1.304 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/1.307, allocations: 141.2 kB / 1.304 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/1.308, allocations: 188.1 kB / 1.304 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004198/1.312, allocations: 2.363 MB / 1.306 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/1.312, allocations: 10.67 kB / 1.306 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/1.312, allocations: 70 kB / 1.306 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/1.312, allocations: 41.28 kB / 1.306 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/1.316, allocations: 1.909 MB / 1.308 GB, free: 2.121 MB / 0.9981 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.01717/1.333, allocations: 11.5 MB / 1.32 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/1.336, allocations: 1.333 MB / 1.321 GB, free: 9.695 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/1.338, allocations: 1.02 MB / 1.322 GB, free: 9.324 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007453/1.345, allocations: 3.733 MB / 1.326 GB, free: 6.324 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/1.347, allocations: 0.7746 MB / 1.326 GB, free: 5.867 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001695/1.348, allocations: 245.7 kB / 1.327 GB, free: 5.742 MB / 1.014 GB Notification: Performance of pre-optimization done (n=94): time 4.449e-06/1.348, allocations: 3.938 kB / 1.327 GB, free: 5.738 MB / 1.014 GB Notification: Performance of matching and sorting (n=94): time 0.012/1.36, allocations: 4.255 MB / 1.331 GB, free: 3.422 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.361, allocations: 65.28 kB / 1.331 GB, free: 3.359 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005439/1.366, allocations: 3.476 MB / 1.334 GB, free: 1.539 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003798/1.366, allocations: 53.17 kB / 1.334 GB, free: 1.492 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.368, allocations: 1.587 MB / 1.336 GB, free: 120 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/1.368, allocations: 362.9 kB / 1.336 GB, free: 15.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006844/1.369, allocations: 461.4 kB / 1.337 GB, free: 15.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/1.369, allocations: 304.9 kB / 1.337 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/1.371, allocations: 0.8628 MB / 1.338 GB, free: 14.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/1.373, allocations: 1.678 MB / 1.339 GB, free: 13.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/1.376, allocations: 2.269 MB / 1.342 GB, free: 11.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.376, allocations: 3.062 kB / 1.342 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.00688/1.383, allocations: 3.346 MB / 1.345 GB, free: 9.996 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/1.383, allocations: 41.55 kB / 1.345 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/1.383, allocations: 21.69 kB / 1.345 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/1.386, allocations: 0.6941 MB / 1.346 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.387, allocations: 355.2 kB / 1.346 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/1.389, allocations: 1.907 MB / 1.348 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/1.392, allocations: 121.6 kB / 1.348 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/1.393, allocations: 90.17 kB / 1.348 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003341/1.396, allocations: 1.591 MB / 1.349 GB, free: 6.996 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00233/1.398, allocations: 1.646 MB / 1.351 GB, free: 4.984 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003178/1.401, allocations: 2.196 MB / 1.353 GB, free: 2.566 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.728e-06/1.401, allocations: 4 kB / 1.353 GB, free: 2.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006084/1.408, allocations: 3.237 MB / 1.356 GB, free: 15.28 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/1.408, allocations: 45.7 kB / 1.356 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/1.408, allocations: 16.06 kB / 1.356 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008852/1.408, allocations: 469.8 kB / 1.357 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.41, allocations: 357 kB / 1.357 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006933/1.417, allocations: 6.324 MB / 1.363 GB, free: 7.797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/1.42, allocations: 140.8 kB / 1.364 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/1.42, allocations: 92.08 kB / 1.364 GB, free: 7.566 MB / 1.045 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.0005831/1.421, allocations: 292.9 kB / 1.364 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007261/1.421, allocations: 353.6 kB / 1.364 GB, free: 6.926 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005103/1.426, allocations: 2.46 MB / 1.367 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.427, allocations: 12 kB / 1.367 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.427, allocations: 0 / 1.367 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003483/1.43, allocations: 2.085 MB / 1.369 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009432/1.439, allocations: 4.575 MB / 1.373 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.439, allocations: 0 / 1.373 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/1.44, allocations: 181.7 kB / 1.373 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/1.441, allocations: 471 kB / 1.374 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/1.442, allocations: 31.98 kB / 1.374 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/1.443, allocations: 1.862 MB / 1.376 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/1.443, allocations: 3.984 kB / 1.376 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005822/1.449, allocations: 3.201 MB / 1.379 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/1.451, allocations: 0.5572 MB / 1.379 GB, free: 7.293 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/1.451, allocations: 20 kB / 1.379 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.452, allocations: 75.83 kB / 1.379 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.452, allocations: 84.88 kB / 1.379 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.452, allocations: 43.97 kB / 1.38 GB, free: 7.074 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003591/1.456, allocations: 2.355 MB / 1.382 GB, free: 4.707 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.71e-07/1.456, allocations: 0 / 1.382 GB, free: 4.707 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004656/1.461, allocations: 1.525 MB / 1.383 GB, free: 3.184 MB / 1.061 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.001566/1.462, allocations: 0.6008 MB / 1.384 GB, free: 2.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006616/1.469, allocations: 3.723 MB / 1.388 GB, free: 14.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.469, allocations: 8 kB / 1.388 GB, free: 14.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.471, allocations: 0.8036 MB / 1.388 GB, free: 14.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006279/1.477, allocations: 1.462 MB / 1.39 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.488, allocations: 6.042 MB / 1.396 GB, free: 6.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/1.489, allocations: 2.233 MB / 1.398 GB, free: 4.258 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002915/1.492, allocations: 0.8306 MB / 1.399 GB, free: 3.422 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/1.493, allocations: 251.3 kB / 1.399 GB, free: 3.176 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.493, allocations: 0 / 1.399 GB, free: 3.176 MB / 1.076 GB Notification: Performance of Templates: time 0.09868/1.592, allocations: 60.76 MB / 1.458 GB, free: 7.41 MB / 1.139 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches