Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 198 kB / 16.54 MB, free: 6.672 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.366/2.366, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6798, allocations: 140.3 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001602/0.6814, allocations: 0.5357 MB / 0.9501 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.6816, allocations: 38.02 kB / 0.9501 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.6816, allocations: 5.781 kB / 0.9501 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.6817, allocations: 3.938 kB / 0.9501 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.6818, allocations: 1.375 kB / 0.9501 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.859e-05/0.6818, allocations: 5.125 kB / 0.9501 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.039e-05/0.6819, allocations: 22 kB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.6819, allocations: 1.656 kB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.682, allocations: 2.719 kB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.682, allocations: 12.02 kB / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.6821, allocations: 0 / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-06/0.6821, allocations: 1.25 kB / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.6821, allocations: 11.12 kB / 0.9502 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.6821, allocations: 1.75 kB / 0.9502 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.713e-05/0.6822, allocations: 19.38 kB / 0.9502 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6822, allocations: 0 / 0.9502 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6822, allocations: 0 / 0.9502 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6822, allocations: 0 / 0.9502 GB, free: 8.711 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003055/0.6825, allocations: 330.8 kB / 0.9505 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.6826, allocations: 8.812 kB / 0.9505 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.6826, allocations: 2.812 kB / 0.9505 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.6827, allocations: 175.5 kB / 0.9507 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.6827, allocations: 8.312 kB / 0.9507 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.6827, allocations: 1.469 kB / 0.9507 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.919e-05/0.6828, allocations: 34.28 kB / 0.9507 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6828, allocations: 192 / 0.9507 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.6828, allocations: 3.938 kB / 0.9507 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.6828, allocations: 0 / 0.9507 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.61e-05/0.6829, allocations: 2.438 kB / 0.9508 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.76e-05/0.683, allocations: 159 kB / 0.9509 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.317e-05/0.683, allocations: 33.38 kB / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.683, allocations: 7.703 kB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.683, allocations: 0 / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.6831, allocations: 31.88 kB / 0.951 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.6831, allocations: 3.984 kB / 0.951 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.6832, allocations: 48.09 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.6832, allocations: 55.53 kB / 0.9511 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.6833, allocations: 112.6 kB / 0.9512 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-06/0.6833, allocations: 25.7 kB / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.972e-05/0.6833, allocations: 81.55 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.6833, allocations: 9.25 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.6834, allocations: 16.41 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.6834, allocations: 310.8 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.6834, allocations: 7.984 kB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.887e-05/0.6835, allocations: 21.84 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.6835, allocations: 20.58 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.6835, allocations: 0 / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.022e-05/0.6836, allocations: 50.25 kB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.6836, allocations: 5.5 kB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.6836, allocations: 3.938 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.6836, allocations: 5.5 kB / 0.9517 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.6837, allocations: 6.75 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.6837, allocations: 1.375 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.6837, allocations: 1.375 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.6837, allocations: 1.375 kB / 0.9517 GB, free: 7.035 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 3.92e-05/0.6838, allocations: 111.2 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.6838, allocations: 5.281 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.824e-05/0.6839, allocations: 60.03 kB / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6839, allocations: 4.031 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6839, allocations: 1.375 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6839, allocations: 0 / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.775e-05/0.6839, allocations: 155.2 kB / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6839, allocations: 0 / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.684, allocations: 8.109 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.684, allocations: 0 / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.684, allocations: 3.938 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.684, allocations: 5.312 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.684, allocations: 0 / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.6841, allocations: 78.94 kB / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.6842, allocations: 82.47 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.6842, allocations: 9.312 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.6842, allocations: 5.312 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.6842, allocations: 0 / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.6842, allocations: 1.375 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.6843, allocations: 90.14 kB / 0.9523 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6843, allocations: 96 / 0.9523 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001935/0.6845, allocations: 6.75 kB / 0.9523 GB, free: 6.371 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 9.918e-05/0.6846, allocations: 94.38 kB / 0.9524 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.6847, allocations: 13.61 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6847, allocations: 5.312 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/0.6847, allocations: 4.125 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.6848, allocations: 5.375 kB / 0.9524 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.6851, allocations: 130.8 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.357e-05/0.6852, allocations: 0.6815 MB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.6852, allocations: 2.781 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.6852, allocations: 8.969 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6852, allocations: 0 / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.001977/0.6872, allocations: 312 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches