Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_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.00179/0.00179, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.002001/0.002001, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.602/1.602, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7641, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002084/0.7662, allocations: 0.529 MB / 1.168 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.7663, allocations: 18.17 kB / 1.168 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.7664, allocations: 4 kB / 1.168 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.7664, allocations: 0 / 1.168 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.7666, allocations: 11.91 kB / 1.168 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.7666, allocations: 3.938 kB / 1.168 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.434e-05/0.7666, allocations: 8 kB / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.7667, allocations: 0 / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.7667, allocations: 0 / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.681e-05/0.7668, allocations: 4 kB / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.7668, allocations: 0 / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-06/0.7668, allocations: 0 / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.7668, allocations: 0 / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.7668, allocations: 7.938 kB / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 5.846e-05/0.7669, allocations: 11.97 kB / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7669, allocations: 0 / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7669, allocations: 0 / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7669, allocations: 4 kB / 1.168 GB, free: 3.273 MB / 0.8887 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.0003794/0.7673, allocations: 311.5 kB / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.7674, allocations: 8.922 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.7674, allocations: 8.875 kB / 1.168 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.7676, allocations: 168.4 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.7676, allocations: 384 / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.7676, allocations: 384 / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.7677, allocations: 47.98 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7677, allocations: 192 / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.7678, allocations: 3.938 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.7678, allocations: 0 / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.7678, allocations: 7.938 kB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.768, allocations: 159.6 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.583e-05/0.768, allocations: 33.16 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.7681, allocations: 21.78 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.7681, allocations: 0 / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.7681, allocations: 38.48 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.7681, allocations: 4 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001495/0.7683, allocations: 45.58 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.7684, allocations: 81.36 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.7684, allocations: 97.84 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.7685, allocations: 25.7 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.7685, allocations: 80.14 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.7685, allocations: 7.469 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.7686, allocations: 17.72 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7687, allocations: 310.8 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/0.7687, allocations: 3.938 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.7688, allocations: 17.84 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.7688, allocations: 25.64 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7688, allocations: 0 / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.996e-05/0.7689, allocations: 33.7 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.7689, allocations: 8 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7689, allocations: 4.062 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7689, allocations: 7.938 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.769, allocations: 4 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.769, allocations: 3.984 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.769, allocations: 0 / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.7691, allocations: 4 kB / 1.169 GB, free: 1.457 MB / 0.8887 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 8.392e-05/0.7691, allocations: 109.8 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.7692, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.7693, allocations: 60.69 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7693, allocations: 0 / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7693, allocations: 3.984 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7693, allocations: 0 / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.7695, allocations: 153.6 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7695, allocations: 0 / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.7695, allocations: 4 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.7695, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.7695, allocations: 3.938 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7695, allocations: 0 / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7695, allocations: 8.062 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.503e-05/0.7696, allocations: 77.92 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.7697, allocations: 81.05 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.7697, allocations: 3.938 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.7697, allocations: 4 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.7698, allocations: 0 / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.7698, allocations: 8.016 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 8.934e-05/0.7699, allocations: 75.28 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.7699, allocations: 0 / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001787/0.7701, allocations: 4 kB / 1.17 GB, free: 0.7617 MB / 0.8887 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.0001133/0.7702, allocations: 95.25 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.866e-05/0.7703, allocations: 15.94 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7703, allocations: 4.219 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.7703, allocations: 4 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.7704, allocations: 4 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.7707, allocations: 93.77 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.7711, allocations: 0.669 MB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.7711, allocations: 7.922 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.7712, allocations: 15.38 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.7712, allocations: 4.125 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.002283/0.7735, allocations: 183.5 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches