Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_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.001218/0.001218, 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.001065/0.001065, 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 65.09 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3347, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002122/0.3368, allocations: 0.5461 MB / 1.027 GB, free: 1.527 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000217/0.3371, allocations: 43.81 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.3372, allocations: 3.938 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.3372, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.3374, allocations: 3.938 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.826e-05/0.3374, allocations: 7.984 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.3375, allocations: 11.98 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.045e-05/0.3376, allocations: 4 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.3377, allocations: 4 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3378, allocations: 15.86 kB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.3378, allocations: 0 / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.3378, allocations: 4 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.3379, allocations: 4 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.338, allocations: 11.92 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.498e-05/0.3381, allocations: 15.92 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.3381, allocations: 0 / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.037e-06/0.3381, allocations: 0 / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.3381, allocations: 0 / 1.027 GB, free: 1.398 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.0006669/0.3388, allocations: 335.5 kB / 1.028 GB, free: 1.02 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3388, allocations: 8.031 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3389, allocations: 0.9375 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.3392, allocations: 176.3 kB / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3392, allocations: 384 / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.3393, allocations: 384 / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.3394, allocations: 34.27 kB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3394, allocations: 192 / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3394, allocations: 3.938 kB / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3394, allocations: 4 kB / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.3395, allocations: 15.92 kB / 1.028 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.3397, allocations: 153.7 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.3398, allocations: 18.58 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.3398, allocations: 4.859 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3398, allocations: 0 / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.3399, allocations: 38.62 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3399, allocations: 0 / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002201/0.3401, allocations: 53.45 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3402, allocations: 51.41 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3403, allocations: 113.8 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3403, allocations: 25.7 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.3404, allocations: 82.59 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3404, allocations: 4 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3405, allocations: 13.84 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3407, allocations: 322.8 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.3407, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/0.3407, allocations: 17.66 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.336e-05/0.3408, allocations: 29.64 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3408, allocations: 0 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.063e-05/0.3409, allocations: 53.59 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3409, allocations: 8 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3409, allocations: 3.938 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.341, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.341, allocations: 7.938 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.341, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.3411, allocations: 7.984 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3411, allocations: 4 kB / 1.029 GB, free: 15.61 MB / 0.8106 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 9.36e-05/0.3412, allocations: 113.8 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.3412, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.3413, allocations: 53.16 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3413, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3413, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3414, allocations: 3.984 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.3415, allocations: 157.7 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3415, allocations: 0 / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.3415, allocations: 7.938 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3416, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3416, allocations: 7.969 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3416, allocations: 0 / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3416, allocations: 256 / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.3417, allocations: 81.02 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.3418, allocations: 81.09 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.3418, allocations: 7.938 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.359e-05/0.3418, allocations: 4.031 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.3419, allocations: 4.078 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3419, allocations: 8 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.3419, allocations: 83.28 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3419, allocations: 0 / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002129/0.3421, allocations: 8 kB / 1.029 GB, free: 14.89 MB / 0.8106 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.0001261/0.3423, allocations: 99.17 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.58e-05/0.3424, allocations: 12 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3424, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/0.3424, allocations: 12.11 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.3425, allocations: 0 / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.3428, allocations: 117.9 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3431, allocations: 0.6845 MB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.783e-05/0.3432, allocations: 3.938 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.3432, allocations: 15.38 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3432, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of Templates: time 0.002262/0.3455, allocations: 313.2 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches