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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007214/0.007214, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001583/0.001583, allocations: 202 kB / 16.68 MB, free: 5.961 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7453 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2881, allocations: 159.9 MB / 1.226 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001461/0.2896, allocations: 0.5328 MB / 1.226 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001614/0.2898, allocations: 46.03 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.2898, allocations: 3.938 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.2899, allocations: 0 / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.29, allocations: 4 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.386e-05/0.2901, allocations: 7.938 kB / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.36e-05/0.2901, allocations: 11.98 kB / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.2902, allocations: 4 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.2902, allocations: 7.984 kB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.2903, allocations: 11.92 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2903, allocations: 4 kB / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.2903, allocations: 0 / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.2904, allocations: 0 / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.2904, allocations: 7.938 kB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.019e-05/0.2905, allocations: 15.97 kB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2905, allocations: 3.938 kB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2905, allocations: 3.938 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2905, allocations: 4 kB / 1.226 GB, free: 8.531 MB / 0.9825 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.0003672/0.2909, allocations: 335.4 kB / 1.227 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2909, allocations: 8.031 kB / 1.227 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.2909, allocations: 0.9375 kB / 1.227 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.2911, allocations: 172.4 kB / 1.227 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.2911, allocations: 4.359 kB / 1.227 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2912, allocations: 4.359 kB / 1.227 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.837e-05/0.2912, allocations: 34.27 kB / 1.227 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.2912, allocations: 192 / 1.227 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2913, allocations: 3.938 kB / 1.227 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2913, allocations: 0 / 1.227 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.2913, allocations: 7.984 kB / 1.227 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.2914, allocations: 157.7 kB / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.2915, allocations: 22.52 kB / 1.227 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.2915, allocations: 4.859 kB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2915, allocations: 8.062 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.2916, allocations: 30.56 kB / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2916, allocations: 0 / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.2917, allocations: 53.55 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.2917, allocations: 55.34 kB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.2918, allocations: 113.8 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2919, allocations: 25.7 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.2919, allocations: 88.27 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.2919, allocations: 7.938 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.292, allocations: 13.67 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2921, allocations: 322.8 kB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.2921, allocations: 0 / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.2921, allocations: 13.72 kB / 1.228 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.2922, allocations: 25.77 kB / 1.228 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2922, allocations: 0 / 1.228 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.774e-05/0.2923, allocations: 49.62 kB / 1.228 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2923, allocations: 8 kB / 1.228 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2923, allocations: 3.938 kB / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2923, allocations: 0 / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.2924, allocations: 7.938 kB / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2924, allocations: 0 / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.2924, allocations: 0 / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.2924, allocations: 4.062 kB / 1.228 GB, free: 6.742 MB / 0.9825 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.28e-05/0.2925, allocations: 118.3 kB / 1.228 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.2925, allocations: 4 kB / 1.228 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.2926, allocations: 49.16 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2926, allocations: 0 / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2926, allocations: 4 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2927, allocations: 0 / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.2928, allocations: 153.7 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2928, allocations: 3.984 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.2928, allocations: 8.031 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2928, allocations: 0 / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.2929, allocations: 3.938 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2929, allocations: 0 / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2929, allocations: 0 / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.293, allocations: 89 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.293, allocations: 77.11 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.2931, allocations: 8.062 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.2931, allocations: 4 kB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.2931, allocations: 0 / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2931, allocations: 0 / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.2932, allocations: 95.52 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2932, allocations: 0 / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001794/0.2934, allocations: 4 kB / 1.228 GB, free: 6.023 MB / 0.9825 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 9.08e-05/0.2935, allocations: 95.25 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.2936, allocations: 27.86 kB / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2936, allocations: 0 / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.2936, allocations: 11.98 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.2937, allocations: 4 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.294, allocations: 113.3 kB / 1.229 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2942, allocations: 0.6807 MB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.2942, allocations: 0 / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.2942, allocations: 11.44 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2943, allocations: 8.125 kB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of Templates: time 0.001951/0.2962, allocations: 316.8 kB / 1.23 GB, free: 4.707 MB / 0.9825 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