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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008343/0.0008343, allocations: 91.84 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.0009486/0.0009487, 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.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437.8 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 11.94 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8785, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0007598/0.8793, allocations: 260.6 kB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.8794, allocations: 15.94 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.8795, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.8795, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.8797, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.757e-06/0.8797, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.132e-05/0.8797, allocations: 7.938 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.631e-05/0.8798, allocations: 3.984 kB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.8798, allocations: 7.984 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.8799, allocations: 4 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.8799, allocations: 4 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.8799, allocations: 0 / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.88, allocations: 0 / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.88, allocations: 25.7 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 3.566e-05/0.88, allocations: 3.938 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.88, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8801, allocations: 4 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.8801, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.7794 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.0002791/0.8803, allocations: 311.3 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.8804, allocations: 16.62 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.8804, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.8805, allocations: 159.1 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.8806, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.8806, allocations: 7.938 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.8807, allocations: 47.38 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-06/0.8807, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.8807, allocations: 3.984 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.8807, allocations: 8 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.8808, allocations: 7.875 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.8809, allocations: 154.6 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.367e-05/0.881, allocations: 37.19 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.881, allocations: 17.7 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.8811, allocations: 4 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.8811, allocations: 38.58 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.8811, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.8813, allocations: 41.64 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.8813, allocations: 81.09 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.8814, allocations: 93.86 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.8814, allocations: 26.08 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.8815, allocations: 84.14 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.8815, allocations: 5.875 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.8815, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.8816, allocations: 314.8 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.8816, allocations: 4 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.8816, allocations: 9.719 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/0.8817, allocations: 15.98 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8817, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.731e-05/0.8817, allocations: 37.7 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.8818, allocations: 8 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.8818, allocations: 3.953 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8818, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.8819, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.8819, allocations: 7.922 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.8819, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.8819, allocations: 64 / 1.024 GB, free: 13.96 MB / 0.7794 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.874e-05/0.882, allocations: 113.8 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.882, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.8821, allocations: 48.75 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.8822, allocations: 7.953 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8822, allocations: 3.938 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8822, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.8823, allocations: 149.7 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8823, allocations: 8 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.8823, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8823, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.8823, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8824, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.8824, allocations: 3.953 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.484e-05/0.8824, allocations: 77.92 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.8825, allocations: 81.02 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.8825, allocations: 3.938 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.449e-05/0.8826, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.8826, allocations: 7.953 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.8826, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.8826, allocations: 79.27 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8826, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001869/0.8828, allocations: 4 kB / 1.025 GB, free: 13.27 MB / 0.7794 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 (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.0001213/0.8829, allocations: 111.3 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.883, allocations: 4 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.883, allocations: 3.938 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.979e-06/0.883, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.8832, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.8834, allocations: 101.8 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.8837, allocations: 0.677 MB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.8837, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.8838, allocations: 11.38 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8838, allocations: 4 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.002178/0.8859, allocations: 188.2 kB / 1.026 GB, free: 12.11 MB / 0.7794 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches