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.001343/0.001343, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001384/0.001384, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.426/2.426, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.53 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.281, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001779/0.2828, allocations: 0.5345 MB / 1.027 GB, free: 1.535 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000151/0.283, allocations: 43.88 kB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.2831, allocations: 0 / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.2831, allocations: 3.984 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.2832, allocations: 7.938 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.005e-05/0.2833, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.2834, allocations: 15.94 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.2834, allocations: 3.984 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.2834, allocations: 7.938 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.2835, allocations: 11.97 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2835, allocations: 0 / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-06/0.2836, allocations: 4 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.2836, allocations: 4 kB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.2836, allocations: 7.938 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.118e-05/0.2837, allocations: 19.86 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2837, allocations: 0 / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2837, allocations: 0 / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2837, allocations: 0 / 1.027 GB, free: 1.406 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.0003953/0.2841, allocations: 323.5 kB / 1.028 GB, free: 1.039 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2842, allocations: 8.031 kB / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.2842, allocations: 8.938 kB / 1.028 GB, free: 1.023 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.2844, allocations: 180.3 kB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.2844, allocations: 384 / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.2844, allocations: 4.312 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.686e-05/0.2845, allocations: 34.25 kB / 1.028 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.2845, allocations: 192 / 1.028 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2845, allocations: 3.938 kB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2845, allocations: 4 kB / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.2846, allocations: 3.984 kB / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.2847, allocations: 157.7 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.2848, allocations: 18.61 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.2848, allocations: 20.84 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.2848, allocations: 0 / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.2848, allocations: 30.56 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2848, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.285, allocations: 49.66 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.285, allocations: 55.41 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.2851, allocations: 109.8 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2851, allocations: 29.7 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.2851, allocations: 84.14 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2852, allocations: 6.422 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.2852, allocations: 13.72 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2853, allocations: 314.8 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.2854, allocations: 11.94 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.2854, allocations: 17.7 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.656e-05/0.2854, allocations: 21.97 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2854, allocations: 0 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.029e-05/0.2855, allocations: 53.53 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2855, allocations: 6.5 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2855, allocations: 8.062 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2856, allocations: 3.984 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.2856, allocations: 4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2856, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.2857, allocations: 4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.2857, allocations: 0 / 1.029 GB, free: 15.62 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.983e-05/0.2857, allocations: 117.8 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.2858, allocations: 3.938 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.276e-05/0.2859, allocations: 65.08 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2859, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2859, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2859, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.932e-05/0.286, allocations: 149.7 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.286, allocations: 0 / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.286, allocations: 4 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.286, allocations: 0 / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2861, allocations: 3.938 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2861, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2861, allocations: 3.984 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2862, allocations: 85 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.2863, allocations: 85.12 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2863, allocations: 3.938 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.2863, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.2863, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.2863, allocations: 7.938 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.2864, allocations: 87.27 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2864, allocations: 4.094 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001782/0.2866, allocations: 4 kB / 1.029 GB, free: 14.9 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.0001093/0.2867, allocations: 95.25 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.643e-05/0.2868, allocations: 15.98 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2868, allocations: 0 / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.2868, allocations: 11.94 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.2869, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.2872, allocations: 122 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.2874, allocations: 0.6768 MB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.764e-05/0.2874, allocations: 7.984 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.2875, allocations: 7.438 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2875, allocations: 0 / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.001901/0.2894, allocations: 323.9 kB / 1.031 GB, free: 13.59 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 gbode -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