Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_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.001778/0.001778, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001986/0.001986, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.05 kB / 0.8707 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3572, allocations: 151.6 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001849/0.3591, allocations: 0.5311 MB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000172/0.3593, allocations: 51.81 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.3594, allocations: 0 / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.3594, allocations: 0 / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.3596, allocations: 0 / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.103e-05/0.3596, allocations: 11.92 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.193e-05/0.3597, allocations: 7.984 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.3598, allocations: 15.98 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.3598, allocations: 0 / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.3599, allocations: 7.938 kB / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3599, allocations: 4 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-06/0.36, allocations: 0 / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.36, allocations: 7.922 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.36, allocations: 15.88 kB / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.507e-05/0.3601, allocations: 11.98 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3601, allocations: 7.922 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3601, allocations: 0 / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3602, allocations: 4 kB / 1.019 GB, free: 9.234 MB / 0.795 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.0004443/0.3606, allocations: 323.5 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3607, allocations: 8.922 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.3607, allocations: 8.844 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.3609, allocations: 180.3 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3609, allocations: 384 / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.361, allocations: 384 / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.3611, allocations: 34.25 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3611, allocations: 4.188 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3611, allocations: 3.938 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3611, allocations: 0 / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.3611, allocations: 4 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.3613, allocations: 157.6 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.091e-05/0.3613, allocations: 18.58 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.3613, allocations: 8.844 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3614, allocations: 4.062 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3614, allocations: 38.56 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3614, allocations: 0 / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.3615, allocations: 49.47 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3616, allocations: 51.41 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.3617, allocations: 109.8 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3617, allocations: 25.7 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.3618, allocations: 88.14 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.3618, allocations: 128 / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.3618, allocations: 17.7 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3619, allocations: 318.8 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.362, allocations: 0 / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.362, allocations: 17.7 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.362, allocations: 21.66 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.362, allocations: 4.062 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.996e-05/0.3621, allocations: 49.59 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3621, allocations: 8 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3621, allocations: 3.938 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3622, allocations: 0 / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.3622, allocations: 11.92 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3622, allocations: 3.938 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.3623, allocations: 0 / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3623, allocations: 7.938 kB / 1.021 GB, free: 7.449 MB / 0.795 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 6.718e-05/0.3624, allocations: 111 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.3624, allocations: 7.984 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.3625, allocations: 53.14 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3625, allocations: 0 / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3625, allocations: 4 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3625, allocations: 0 / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.3626, allocations: 153.9 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3627, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.3627, allocations: 8 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3627, allocations: 4.031 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3627, allocations: 3.938 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3627, allocations: 0 / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3627, allocations: 3.938 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.3629, allocations: 81.11 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.3629, allocations: 81.02 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.363, allocations: 7.969 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.436e-05/0.363, allocations: 8.078 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.363, allocations: 0 / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/0.363, allocations: 0 / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.3631, allocations: 91.27 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3631, allocations: 0 / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001826/0.3633, allocations: 4 kB / 1.022 GB, free: 6.738 MB / 0.795 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 0.0001067/0.3634, allocations: 98.48 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.32e-05/0.3635, allocations: 19.98 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3635, allocations: 4.062 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.3635, allocations: 4 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.3636, allocations: 4 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.3639, allocations: 117.9 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.3641, allocations: 0.6768 MB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.71e-05/0.3642, allocations: 4 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.3642, allocations: 11.42 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3642, allocations: 3.938 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of Templates: time 0.002306/0.3665, allocations: 317.1 kB / 1.023 GB, free: 5.43 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches