Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example8.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001916/0.001916, allocations: 193.9 kB / 16.14 MB, free: 6.699 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6642 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6635, allocations: 140.4 MB / 0.9489 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002072/0.6656, allocations: 0.5839 MB / 0.9495 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000139/0.6658, allocations: 15.23 kB / 0.9495 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.6658, allocations: 0 / 0.9495 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.6658, allocations: 0 / 0.9495 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.666, allocations: 1.406 kB / 0.9495 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.666, allocations: 4 kB / 0.9495 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.6661, allocations: 2.656 kB / 0.9495 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.6661, allocations: 9.234 kB / 0.9495 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.6662, allocations: 10.19 kB / 0.9495 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.6662, allocations: 5.391 kB / 0.9495 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.6663, allocations: 3.938 kB / 0.9495 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.6663, allocations: 0 / 0.9495 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.6663, allocations: 1.406 kB / 0.9495 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.6663, allocations: 3.938 kB / 0.9495 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.742e-05/0.6664, allocations: 1.25 kB / 0.9495 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6664, allocations: 0 / 0.9495 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6664, allocations: 5.25 kB / 0.9495 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.6664, allocations: 0 / 0.9495 GB, free: 8.836 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002416/0.6666, allocations: 311.3 kB / 0.9498 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.6667, allocations: 10.34 kB / 0.9498 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.6667, allocations: 4.844 kB / 0.9499 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.878e-05/0.6668, allocations: 170.1 kB / 0.95 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.6668, allocations: 4.375 kB / 0.95 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.6669, allocations: 1.656 kB / 0.95 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/0.6669, allocations: 46.88 kB / 0.9501 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.667, allocations: 4.125 kB / 0.9501 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.667, allocations: 5.5 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.667, allocations: 0 / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.667, allocations: 2.75 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.6671, allocations: 153.3 kB / 0.9502 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.535e-05/0.6672, allocations: 47.77 kB / 0.9503 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.6672, allocations: 12.38 kB / 0.9503 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.6673, allocations: 1.406 kB / 0.9503 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.6673, allocations: 31.84 kB / 0.9503 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.6673, allocations: 0 / 0.9503 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.6674, allocations: 51.41 kB / 0.9504 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.6675, allocations: 81.11 kB / 0.9504 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.311e-05/0.6675, allocations: 91.23 kB / 0.9505 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.6675, allocations: 27.08 kB / 0.9506 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.6675, allocations: 80.14 kB / 0.9506 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.6676, allocations: 19.17 kB / 0.9506 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.6676, allocations: 12.47 kB / 0.9507 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.6677, allocations: 315 kB / 0.951 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.6677, allocations: 5.375 kB / 0.951 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.6677, allocations: 16.41 kB / 0.951 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.6678, allocations: 19.22 kB / 0.951 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6678, allocations: 0 / 0.951 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.598e-05/0.6679, allocations: 43.25 kB / 0.951 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6679, allocations: 8.25 kB / 0.951 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6679, allocations: 5.312 kB / 0.9511 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.6679, allocations: 3.938 kB / 0.9511 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.668, allocations: 8.125 kB / 0.9511 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.668, allocations: 0 / 0.9511 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.6681, allocations: 1.375 kB / 0.9511 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.6681, allocations: 1.375 kB / 0.9511 GB, free: 7.094 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 5.343e-05/0.6681, allocations: 107.2 kB / 0.9512 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.6682, allocations: 1.375 kB / 0.9512 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.6683, allocations: 56.94 kB / 0.9512 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6683, allocations: 1.375 kB / 0.9512 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6683, allocations: 0 / 0.9512 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.6683, allocations: 5.359 kB / 0.9512 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.032e-05/0.6684, allocations: 144.4 kB / 0.9514 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6684, allocations: 0 / 0.9514 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.6684, allocations: 2.75 kB / 0.9514 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6685, allocations: 1.375 kB / 0.9514 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.6685, allocations: 9.375 kB / 0.9514 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6685, allocations: 11.92 kB / 0.9514 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6685, allocations: 1.375 kB / 0.9514 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.445e-05/0.6686, allocations: 62.25 kB / 0.9515 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.6686, allocations: 86.47 kB / 0.9515 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.6686, allocations: 5.312 kB / 0.9515 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/0.6687, allocations: 1.375 kB / 0.9515 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.6687, allocations: 5.406 kB / 0.9515 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.6687, allocations: 1.375 kB / 0.9515 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.038e-05/0.6687, allocations: 75.28 kB / 0.9516 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.233e-06/0.6687, allocations: 1.375 kB / 0.9516 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003475/0.6691, allocations: 5.312 kB / 0.9516 GB, free: 6.453 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001067/0.6692, allocations: 102.2 kB / 0.9517 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.6693, allocations: 18.95 kB / 0.9517 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6693, allocations: 0 / 0.9517 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.6693, allocations: 4.125 kB / 0.9517 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.6695, allocations: 5.312 kB / 0.9517 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.6698, allocations: 95.72 kB / 0.9518 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.6699, allocations: 0.6758 MB / 0.9525 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.6699, allocations: 5.625 kB / 0.9525 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.67, allocations: 7.438 kB / 0.9525 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.67, allocations: 1.375 kB / 0.9525 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of Templates: time 0.002206/0.6722, allocations: 189 kB / 0.9527 GB, free: 5.414 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches