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.001067/0.001067, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001361/0.001361, allocations: 172.7 kB / 15.95 MB, free: 208 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.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 8.219 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2849, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006188/0.2855, allocations: 259 kB / 1.058 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.2857, allocations: 43.84 kB / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.2858, allocations: 0 / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.2858, allocations: 3.984 kB / 1.058 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2859, allocations: 4 kB / 1.058 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.972e-05/0.286, allocations: 0 / 1.058 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.286, allocations: 7.938 kB / 1.058 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.2861, allocations: 0 / 1.058 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.2861, allocations: 11.98 kB / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.2862, allocations: 11.92 kB / 1.058 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2862, allocations: 0 / 1.058 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.2863, allocations: 8 kB / 1.058 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.2863, allocations: 3.984 kB / 1.058 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.2863, allocations: 25.7 kB / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 3.8e-05/0.2864, allocations: 8 kB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2864, allocations: 0 / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2864, allocations: 0 / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.2864, allocations: 0 / 1.058 GB, free: 4.922 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003822/0.2868, allocations: 331.3 kB / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2868, allocations: 8.031 kB / 1.059 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.2869, allocations: 7.906 kB / 1.059 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.2871, allocations: 175.2 kB / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.2871, allocations: 3.938 kB / 1.059 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2871, allocations: 3.953 kB / 1.059 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.099e-05/0.2872, allocations: 41.62 kB / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.2872, allocations: 0 / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.2872, allocations: 0 / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2872, allocations: 0 / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.2872, allocations: 4 kB / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.2874, allocations: 157.7 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.817e-05/0.2874, allocations: 22.56 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.2875, allocations: 8.859 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2875, allocations: 3.953 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2875, allocations: 30.56 kB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2875, allocations: 4 kB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.2876, allocations: 37.69 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.2877, allocations: 55.53 kB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.2878, allocations: 117.8 kB / 1.059 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2878, allocations: 29.64 kB / 1.059 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.2878, allocations: 80.14 kB / 1.059 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.2879, allocations: 3.906 kB / 1.059 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.2879, allocations: 0 / 1.059 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.288, allocations: 318.8 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.288, allocations: 0 / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.288, allocations: 21.7 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.925e-05/0.2881, allocations: 4 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2881, allocations: 4 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.044e-05/0.2881, allocations: 49.62 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2882, allocations: 7.953 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2882, allocations: 0 / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.2882, allocations: 0 / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.2882, allocations: 12.11 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2883, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.2883, allocations: 4 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2883, allocations: 0 / 1.06 GB, free: 3.184 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/0.2884, allocations: 105.8 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.2884, allocations: 4 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.867e-05/0.2885, allocations: 57.09 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2885, allocations: 7.938 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2885, allocations: 8.016 kB / 1.06 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2885, allocations: 0 / 1.06 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2886, allocations: 157.8 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2887, allocations: 0 / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.2887, allocations: 8 kB / 1.06 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2887, allocations: 0 / 1.06 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.2887, allocations: 0 / 1.06 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2887, allocations: 7.891 kB / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2887, allocations: 4 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.2889, allocations: 85.11 kB / 1.06 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.2889, allocations: 77.11 kB / 1.06 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2889, allocations: 4.031 kB / 1.06 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.289, allocations: 3.984 kB / 1.06 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.289, allocations: 7.891 kB / 1.06 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.289, allocations: 0 / 1.06 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.289, allocations: 91.27 kB / 1.06 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2891, allocations: 0 / 1.06 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001825/0.2892, allocations: 4 kB / 1.06 GB, free: 2.461 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 (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 0.0001077/0.2894, allocations: 95.34 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.751e-05/0.2894, allocations: 12 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2894, allocations: 4 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.661e-05/0.2895, allocations: 7.984 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.2896, allocations: 1.969 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.2899, allocations: 142.9 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.2901, allocations: 0.6809 MB / 1.061 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.2902, allocations: 4 kB / 1.061 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.2902, allocations: 7.438 kB / 1.061 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.2902, allocations: 0 / 1.061 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of Templates: time 0.002074/0.2923, allocations: 292.5 kB / 1.062 GB, free: 1.16 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches