Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_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.0009859/0.0009861, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008608/0.008608, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 462.6 MB / 0.7364 GB, free: 204 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004201, allocations: 9.156 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.312, allocations: 159.6 MB / 1.059 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0007006/0.3127, allocations: 259 kB / 1.059 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.3129, allocations: 27.78 kB / 1.059 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.3129, allocations: 0 / 1.059 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.3129, allocations: 0 / 1.059 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.3131, allocations: 0 / 1.059 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.005e-06/0.3131, allocations: 0 / 1.059 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.232e-05/0.3131, allocations: 11.92 kB / 1.059 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.3132, allocations: 0 / 1.059 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.3132, allocations: 4 kB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.913e-05/0.3133, allocations: 0 / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.3133, allocations: 0 / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-06/0.3133, allocations: 4 kB / 1.059 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.3133, allocations: 3.938 kB / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.3134, allocations: 29.7 kB / 1.059 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 3.841e-05/0.3134, allocations: 3.984 kB / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3134, allocations: 0 / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3134, allocations: 0 / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3134, allocations: 0 / 1.059 GB, free: 5.074 MB / 0.8106 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.0002788/0.3137, allocations: 319.5 kB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3138, allocations: 8.031 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.3138, allocations: 0.9375 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3139, allocations: 172.4 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3139, allocations: 8.312 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.3139, allocations: 384 / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3141, allocations: 43.98 kB / 1.06 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3141, allocations: 192 / 1.06 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.3141, allocations: 7.922 kB / 1.06 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3141, allocations: 3.938 kB / 1.06 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.3141, allocations: 7.938 kB / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.3143, allocations: 158.5 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/0.3144, allocations: 33.22 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.3144, allocations: 13.84 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3144, allocations: 0 / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3144, allocations: 42.5 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.3145, allocations: 0 / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.3146, allocations: 49.56 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.3147, allocations: 77.11 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.847e-05/0.3147, allocations: 93.86 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.3147, allocations: 25.7 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.3148, allocations: 84.52 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.3148, allocations: 16.11 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.3148, allocations: 9.719 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3149, allocations: 310.8 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.315, allocations: 3.938 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.315, allocations: 21.72 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.315, allocations: 21.72 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.315, allocations: 0 / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.281e-05/0.3151, allocations: 45.69 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3151, allocations: 4.781 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3151, allocations: 3.938 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.3152, allocations: 0 / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.3152, allocations: 4 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3152, allocations: 3.938 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.3153, allocations: 8 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3153, allocations: 64 / 1.061 GB, free: 3.242 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 6.836e-05/0.3154, allocations: 113.8 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.3154, allocations: 4 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.3155, allocations: 52.69 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3155, allocations: 0 / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3155, allocations: 0 / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.3155, allocations: 0 / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.3156, allocations: 149.7 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3156, allocations: 4.062 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.3157, allocations: 11.92 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3157, allocations: 0 / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.3157, allocations: 3.938 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3157, allocations: 0 / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3157, allocations: 4 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.664e-05/0.3158, allocations: 77.83 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.3158, allocations: 77.11 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3159, allocations: 7.938 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.49e-05/0.3159, allocations: 0 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.3159, allocations: 0 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3159, allocations: 0 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.3159, allocations: 79.28 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3159, allocations: 0 / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000181/0.3161, allocations: 4 kB / 1.061 GB, free: 2.562 MB / 0.8106 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.0001144/0.3163, allocations: 103.4 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.098e-05/0.3163, allocations: 4 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3163, allocations: 3.938 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-06/0.3163, allocations: 4 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.3165, allocations: 4 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.3167, allocations: 96.11 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3169, allocations: 0.6731 MB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.317, allocations: 3.938 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.317, allocations: 7.438 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.317, allocations: 0 / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of Templates: time 0.002015/0.319, allocations: 185.1 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches