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.00154/0.00154, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001648/0.001648, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7625, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001831/0.7643, allocations: 0.5245 MB / 1.209 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.7645, allocations: 18.22 kB / 1.209 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.7646, allocations: 3.938 kB / 1.209 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.7646, allocations: 0 / 1.209 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.7648, allocations: 7.984 kB / 1.209 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.609e-06/0.7648, allocations: 0 / 1.209 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.7648, allocations: 15.94 kB / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.7649, allocations: 0 / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.7649, allocations: 4 kB / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.765, allocations: 0 / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.765, allocations: 0 / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-06/0.765, allocations: 0 / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.765, allocations: 3.938 kB / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.7651, allocations: 7.969 kB / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 4.504e-05/0.7651, allocations: 4 kB / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7651, allocations: 0 / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7651, allocations: 0 / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.7651, allocations: 4 kB / 1.209 GB, free: 13.07 MB / 0.9356 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.0003192/0.7655, allocations: 307.6 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7655, allocations: 8.031 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.7655, allocations: 8.938 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.7656, allocations: 164.4 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.7657, allocations: 384 / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.7657, allocations: 4.312 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.7658, allocations: 43.98 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.7658, allocations: 4.172 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.7658, allocations: 7.875 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.7659, allocations: 0 / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.7659, allocations: 7.984 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.7661, allocations: 158.5 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.881e-05/0.7661, allocations: 41.25 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.7662, allocations: 9.719 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.7662, allocations: 0 / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.7662, allocations: 42.55 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7662, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.7664, allocations: 41.64 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.7665, allocations: 85.3 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.861e-05/0.7665, allocations: 97.84 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.7666, allocations: 25.7 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.7666, allocations: 80.14 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.7666, allocations: 11.7 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.7667, allocations: 13.72 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7668, allocations: 310.8 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.7668, allocations: 4.125 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.7668, allocations: 21.66 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.7669, allocations: 17.7 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.7669, allocations: 3.938 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.082e-05/0.767, allocations: 41.7 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.767, allocations: 6.031 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.767, allocations: 8.062 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.767, allocations: 0 / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.7671, allocations: 7.984 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.7671, allocations: 0 / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.7671, allocations: 3.906 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.7671, allocations: 7.938 kB / 1.211 GB, free: 11.25 MB / 0.9356 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.462e-05/0.7672, allocations: 105.8 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.7672, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.7674, allocations: 60.69 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7674, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.7674, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7674, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.7675, allocations: 157.7 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7675, allocations: 3.938 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.7675, allocations: 4 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.7675, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.7676, allocations: 3.938 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7676, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7676, allocations: 8.062 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.765e-05/0.7677, allocations: 65.98 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.7677, allocations: 81.05 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.7677, allocations: 7.938 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.7678, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.7678, allocations: 4.016 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.7678, allocations: 4 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.7678, allocations: 79.28 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7679, allocations: 0 / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001781/0.768, allocations: 0 / 1.211 GB, free: 10.57 MB / 0.9356 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.0001214/0.7682, allocations: 99.25 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.274e-05/0.7682, allocations: 4 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7683, allocations: 8.219 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-06/0.7683, allocations: 3.938 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.7684, allocations: 7.984 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.7686, allocations: 115.5 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.7689, allocations: 0.6768 MB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.7689, allocations: 7.438 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.7689, allocations: 3.938 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of Templates: time 0.001493/0.7704, allocations: 375.8 kB / 1.212 GB, free: 9.215 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches