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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001269/0.001269, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.002228/0.002228, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006141/0.0006142, allocations: 11.98 kB / 0.8154 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.8382, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006267/0.8389, allocations: 259.1 kB / 0.9547 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001897/0.8391, allocations: 41.45 kB / 0.9547 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.8392, allocations: 1.438 kB / 0.9547 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.8392, allocations: 0 / 0.9547 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.8393, allocations: 5.312 kB / 0.9547 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.609e-05/0.8394, allocations: 1.562 kB / 0.9547 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.198e-05/0.8394, allocations: 12.83 kB / 0.9547 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.723e-05/0.8395, allocations: 1.656 kB / 0.9547 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.8395, allocations: 5.219 kB / 0.9548 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.8396, allocations: 16.88 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.8397, allocations: 0.75 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-06/0.8397, allocations: 0.9375 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.8397, allocations: 5.969 kB / 0.9548 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.8397, allocations: 30.67 kB / 0.9548 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.039e-05/0.8398, allocations: 3.344 kB / 0.9548 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8398, allocations: 3.984 kB / 0.9548 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8398, allocations: 0 / 0.9548 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8398, allocations: 3.938 kB / 0.9548 GB, free: 7.406 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.0003241/0.8401, allocations: 328.9 kB / 0.9551 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8402, allocations: 13.47 kB / 0.9551 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.8402, allocations: 5.141 kB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.8404, allocations: 182.2 kB / 0.9553 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.8404, allocations: 0 / 0.9553 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.8404, allocations: 1.344 kB / 0.9553 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.751e-05/0.8405, allocations: 32.27 kB / 0.9554 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.8405, allocations: 1.594 kB / 0.9554 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.8405, allocations: 0 / 0.9554 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.8405, allocations: 4 kB / 0.9554 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.8405, allocations: 10.56 kB / 0.9554 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.8407, allocations: 153.7 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.57e-05/0.8407, allocations: 18.11 kB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.8407, allocations: 7.891 kB / 0.9555 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.8408, allocations: 0 / 0.9555 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.8408, allocations: 35.83 kB / 0.9556 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.8408, allocations: 7.938 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.8409, allocations: 43.59 kB / 0.9556 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.8409, allocations: 51.41 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.841, allocations: 108.5 kB / 0.9558 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.841, allocations: 26.7 kB / 0.9558 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.8411, allocations: 85.17 kB / 0.9559 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.8411, allocations: 1.125 kB / 0.9559 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.8411, allocations: 0 / 0.9559 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.8411, allocations: 320.1 kB / 0.9562 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.8412, allocations: 6.422 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.8412, allocations: 14.06 kB / 0.9562 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.8412, allocations: 15.3 kB / 0.9562 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8413, allocations: 1.062 kB / 0.9562 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.828e-05/0.8413, allocations: 41.2 kB / 0.9563 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8413, allocations: 15.39 kB / 0.9563 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8414, allocations: 1.062 kB / 0.9563 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8414, allocations: 0 / 0.9563 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.8415, allocations: 3.406 kB / 0.9563 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8415, allocations: 5 kB / 0.9563 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.8415, allocations: 5.031 kB / 0.9563 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.8415, allocations: 4.953 kB / 0.9563 GB, free: 5.773 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.8416, allocations: 116 kB / 0.9564 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.8416, allocations: 6.203 kB / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.984e-05/0.8417, allocations: 55.22 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.8417, allocations: 1.281 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8417, allocations: 0 / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.8417, allocations: 0 / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.616e-05/0.8418, allocations: 163.3 kB / 0.9566 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8418, allocations: 0 / 0.9566 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.8418, allocations: 3.406 kB / 0.9566 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.8419, allocations: 0 / 0.9566 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.8419, allocations: 5.141 kB / 0.9566 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8419, allocations: 3.938 kB / 0.9566 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8419, allocations: 5.156 kB / 0.9566 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.842, allocations: 82.53 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.842, allocations: 83.53 kB / 0.9568 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.842, allocations: 4 kB / 0.9568 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.8421, allocations: 1.312 kB / 0.9568 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.8421, allocations: 1.062 kB / 0.9568 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.8421, allocations: 1.094 kB / 0.9568 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.8421, allocations: 94.55 kB / 0.9569 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8421, allocations: 0 / 0.9569 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001817/0.8423, allocations: 2.25 kB / 0.9569 GB, free: 5.109 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.887e-05/0.8424, allocations: 98.53 kB / 0.957 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.893e-05/0.8425, allocations: 20.14 kB / 0.957 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8425, allocations: 0.9688 kB / 0.957 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.457e-05/0.8425, allocations: 4.5 kB / 0.957 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.8427, allocations: 9.484 kB / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.843, allocations: 132.5 kB / 0.9572 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.8431, allocations: 0.6788 MB / 0.9578 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.562e-05/0.8431, allocations: 1.25 kB / 0.9578 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.8431, allocations: 8.75 kB / 0.9578 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8432, allocations: 1.406 kB / 0.9578 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.00216/0.8453, allocations: 295.3 kB / 0.9581 GB, free: 4 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