Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001771/0.001771, allocations: 201.3 kB / 16.14 MB, free: 6.793 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 64.22 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2995, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7843/1.084, allocations: 235.4 MB / 1.282 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01948/1.103, allocations: 15.93 MB / 1.298 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/1.106, allocations: 55.78 kB / 1.298 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/1.108, allocations: 0.8708 MB / 1.298 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007142/1.116, allocations: 2.8 MB / 1.301 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/1.12, allocations: 1.515 MB / 1.303 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007324/1.127, allocations: 4.661 MB / 1.307 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/1.13, allocations: 1.069 MB / 1.308 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008773/1.138, allocations: 2.253 MB / 1.31 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/1.142, allocations: 1.137 MB / 1.312 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003321/1.142, allocations: 63.59 kB / 1.312 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009333/1.152, allocations: 3.59 MB / 1.315 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/1.153, allocations: 429.4 kB / 1.316 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00211/1.155, allocations: 0.7534 MB / 1.316 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008481/1.163, allocations: 3.094 MB / 1.319 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.163, allocations: 0.8438 kB / 1.319 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/1.163, allocations: 4 kB / 1.319 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.251e-05/1.163, allocations: 0 / 1.319 GB, free: 0.707 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004452/1.168, allocations: 2.002 MB / 1.321 GB, free: 15.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.168, allocations: 10.44 kB / 1.321 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/1.171, allocations: 0.4923 MB / 1.322 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/1.173, allocations: 1.114 MB / 1.323 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008482/1.174, allocations: 246 kB / 1.323 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.174, allocations: 95.47 kB / 1.323 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/1.176, allocations: 1.325 MB / 1.324 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/1.176, allocations: 5.406 kB / 1.324 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.176, allocations: 44.19 kB / 1.325 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/1.177, allocations: 48.05 kB / 1.325 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/1.179, allocations: 1.07 MB / 1.326 GB, free: 14.82 MB / 1.014 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.008901/1.188, allocations: 6.628 MB / 1.332 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/1.19, allocations: 0.5685 MB / 1.333 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/1.19, allocations: 266.5 kB / 1.333 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/1.191, allocations: 285.7 kB / 1.333 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/1.191, allocations: 39.38 kB / 1.333 GB, free: 10.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.745e-06/1.191, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002574/1.193, allocations: 0.8664 MB / 1.334 GB, free: 10.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.193, allocations: 57.95 kB / 1.334 GB, free: 10.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/1.195, allocations: 1.358 MB / 1.335 GB, free: 9.875 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.499e-05/1.195, allocations: 38.77 kB / 1.335 GB, free: 9.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/1.196, allocations: 0.6845 MB / 1.336 GB, free: 9.586 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.196, allocations: 118.5 kB / 1.336 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/1.196, allocations: 147.1 kB / 1.336 GB, free: 9.492 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.196, allocations: 330.1 kB / 1.337 GB, free: 9.188 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008093/1.197, allocations: 315.6 kB / 1.337 GB, free: 9.168 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/1.198, allocations: 0.6247 MB / 1.338 GB, free: 8.762 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/1.2, allocations: 0.8598 MB / 1.338 GB, free: 8.391 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.2, allocations: 9.156 kB / 1.338 GB, free: 8.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002201/1.202, allocations: 0.9927 MB / 1.339 GB, free: 8.262 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.202, allocations: 11.47 kB / 1.339 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.202, allocations: 7.031 kB / 1.339 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.202, allocations: 17.34 kB / 1.339 GB, free: 8.258 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/1.203, allocations: 191.2 kB / 1.34 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/1.203, allocations: 23.19 kB / 1.34 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/1.205, allocations: 215.4 kB / 1.34 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/1.205, allocations: 38.61 kB / 1.34 GB, free: 8.184 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001205/1.206, allocations: 0.5631 MB / 1.34 GB, free: 8.094 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/1.207, allocations: 0.6229 MB / 1.341 GB, free: 7.695 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001682/1.209, allocations: 0.8564 MB / 1.342 GB, free: 7.324 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.379e-06/1.209, allocations: 2.719 kB / 1.342 GB, free: 7.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002214/1.211, allocations: 1 MB / 1.343 GB, free: 7.195 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.211, allocations: 10.03 kB / 1.343 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.211, allocations: 8.453 kB / 1.343 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/1.211, allocations: 12.81 kB / 1.343 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/1.212, allocations: 192.2 kB / 1.343 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.212, allocations: 19.2 kB / 1.343 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.213, allocations: 162.6 kB / 1.343 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/1.213, allocations: 39.95 kB / 1.343 GB, free: 7.156 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0002444/1.213, allocations: 227.5 kB / 1.344 GB, free: 6.969 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/1.214, allocations: 138.5 kB / 1.344 GB, free: 6.898 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/1.215, allocations: 0.6564 MB / 1.344 GB, free: 6.816 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.215, allocations: 3.594 kB / 1.344 GB, free: 6.816 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.215, allocations: 6.469 kB / 1.344 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.215, allocations: 2.391 kB / 1.344 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/1.219, allocations: 1.921 MB / 1.346 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/1.219, allocations: 5.031 kB / 1.346 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/1.219, allocations: 102.9 kB / 1.346 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.219, allocations: 5.688 kB / 1.346 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/1.219, allocations: 14.67 kB / 1.346 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/1.219, allocations: 9.656 kB / 1.346 GB, free: 6.316 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.219, allocations: 11.31 kB / 1.346 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/1.221, allocations: 0.8283 MB / 1.347 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/1.221, allocations: 297.2 kB / 1.347 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/1.221, allocations: 13.58 kB / 1.347 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.222, allocations: 101.4 kB / 1.348 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/1.222, allocations: 38.61 kB / 1.348 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/1.222, allocations: 20.23 kB / 1.348 GB, free: 5.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001236/1.224, allocations: 0.9952 MB / 1.349 GB, free: 5.633 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.014e-06/1.224, allocations: 0 / 1.349 GB, free: 5.633 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001652/1.225, allocations: 0.573 MB / 1.349 GB, free: 5.578 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.000547/1.226, allocations: 274 kB / 1.349 GB, free: 5.445 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002504/1.228, allocations: 1.08 MB / 1.35 GB, free: 5.414 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.228, allocations: 2.438 kB / 1.35 GB, free: 5.414 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00061/1.229, allocations: 261.8 kB / 1.351 GB, free: 5.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/1.232, allocations: 0.7518 MB / 1.351 GB, free: 5.336 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/1.237, allocations: 2.676 MB / 1.354 GB, free: 3.945 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/1.238, allocations: 1.185 MB / 1.355 GB, free: 3.215 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001464/1.239, allocations: 371.2 kB / 1.356 GB, free: 3.117 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/1.239, allocations: 91.02 kB / 1.356 GB, free: 3.109 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.239, allocations: 0 / 1.356 GB, free: 3.109 MB / 1.014 GB Notification: Performance of Templates: time 0.04316/1.282, allocations: 24.11 MB / 1.379 GB, free: 5.945 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches