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.007954/0.007962, allocations: 100.4 kB / 15.73 MB, free: 6.492 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.001817/0.001817, allocations: 194.6 kB / 16.67 MB, free: 6.379 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.577/1.577, 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 11.0.1-master/package.mo): time 2.836/2.836, allocations: 461.8 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3111, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001611/0.3128, allocations: 0.5273 MB / 1.208 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001379/0.3129, allocations: 15.95 kB / 1.208 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.3129, allocations: 0 / 1.208 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.313, allocations: 3.938 kB / 1.208 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.3131, allocations: 4 kB / 1.208 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.3131, allocations: 4 kB / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.951e-05/0.3132, allocations: 4 kB / 1.208 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.3132, allocations: 4 kB / 1.208 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.3133, allocations: 7.984 kB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.3133, allocations: 0 / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.3133, allocations: 3.938 kB / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-06/0.3134, allocations: 0 / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.3134, allocations: 7.922 kB / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.3134, allocations: 0 / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 4.207e-05/0.3134, allocations: 4 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3134, allocations: 0 / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3135, allocations: 4 kB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3135, allocations: 0 / 1.208 GB, free: 9.105 MB / 0.9669 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.0002974/0.3138, allocations: 319.6 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 9.058e-05/0.3139, allocations: 8.625 kB / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.3139, allocations: 4.938 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.878e-05/0.314, allocations: 164.4 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.314, allocations: 4.312 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.314, allocations: 384 / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.726e-05/0.3141, allocations: 47.97 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3141, allocations: 8.062 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.3141, allocations: 3.938 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3141, allocations: 0 / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.3142, allocations: 8 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.3143, allocations: 154.6 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.912e-05/0.3144, allocations: 45.17 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.3144, allocations: 9.719 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3144, allocations: 0 / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3145, allocations: 38.62 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3145, allocations: 0 / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001308/0.3146, allocations: 49.66 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.3147, allocations: 81.17 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.3147, allocations: 97.86 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.3147, allocations: 25.7 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.3148, allocations: 80.14 kB / 1.209 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.3148, allocations: 3.938 kB / 1.209 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.3148, allocations: 17.62 kB / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.3149, allocations: 310.8 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.315, allocations: 12.11 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.315, allocations: 17.66 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.315, allocations: 13.72 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.315, allocations: 0 / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.713e-05/0.3151, allocations: 45.64 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.3151, allocations: 13.67 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3151, allocations: 3.938 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.3151, allocations: 0 / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.3152, allocations: 4 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3152, allocations: 0 / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.3152, allocations: 0 / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3153, allocations: 8 kB / 1.21 GB, free: 7.277 MB / 0.9669 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.253e-05/0.3153, allocations: 105.8 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.3153, allocations: 0 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.3154, allocations: 60.69 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3155, allocations: 0 / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3155, allocations: 0 / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3155, allocations: 0 / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.864e-05/0.3156, allocations: 157.6 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3156, allocations: 0 / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.3156, allocations: 4 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3156, allocations: 3.938 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3156, allocations: 3.938 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3156, allocations: 8 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3156, allocations: 4 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.094e-05/0.3157, allocations: 65.98 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.3158, allocations: 77.11 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3158, allocations: 11.92 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.3158, allocations: 0 / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.3158, allocations: 4.031 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3158, allocations: 0 / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.643e-05/0.3159, allocations: 83.28 kB / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3159, allocations: 0 / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001751/0.3161, allocations: 0 / 1.21 GB, free: 6.598 MB / 0.9669 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 9.613e-05/0.3162, allocations: 99.19 kB / 1.21 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.128e-05/0.3163, allocations: 8.141 kB / 1.21 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3163, allocations: 8.062 kB / 1.21 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.584e-06/0.3163, allocations: 0 / 1.21 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3165, allocations: 8 kB / 1.21 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.3167, allocations: 97.62 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.3169, allocations: 0.6729 MB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.317, allocations: 0 / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.317, allocations: 15.56 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.317, allocations: 0 / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of Templates: time 0.001756/0.3188, allocations: 199.1 kB / 1.211 GB, free: 5.438 MB / 0.9669 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