Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_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.001134/0.001134, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001636/0.001636, allocations: 168.7 kB / 15.95 MB, free: 204 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.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.402 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.654/2.654, allocations: 437.7 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004222, allocations: 11.94 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8575, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0008161/0.8584, allocations: 264.5 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002187/0.8587, allocations: 31.91 kB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.8587, allocations: 0 / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.8588, allocations: 0 / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.8589, allocations: 11.92 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.47e-05/0.859, allocations: 7.984 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.344e-05/0.8591, allocations: 4 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.126e-05/0.8592, allocations: 3.938 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.8592, allocations: 11.92 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.8593, allocations: 12 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.8594, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.8594, allocations: 4 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.8594, allocations: 11.86 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.8595, allocations: 25.7 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.16e-05/0.8595, allocations: 11.98 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.8595, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8596, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8596, allocations: 0 / 1.023 GB, free: 15.65 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004941/0.8601, allocations: 329 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.8601, allocations: 12.56 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.8602, allocations: 3.984 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.8604, allocations: 169 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.8604, allocations: 4 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.8605, allocations: 0 / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.8606, allocations: 37.64 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8606, allocations: 3.938 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.8606, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8606, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.8607, allocations: 8 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.8609, allocations: 153.7 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.8609, allocations: 18.56 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.861, allocations: 12.92 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.861, allocations: 0 / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.861, allocations: 34.52 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.861, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001775/0.8612, allocations: 49.62 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.8613, allocations: 51.41 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.8614, allocations: 109.8 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.8614, allocations: 29.69 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.8614, allocations: 84.14 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.8615, allocations: 3.906 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.8615, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8616, allocations: 314.8 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.8616, allocations: 12.06 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.8617, allocations: 17.7 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.417e-05/0.8617, allocations: 7.938 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8617, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.093e-05/0.8618, allocations: 45.69 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.8618, allocations: 4 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8618, allocations: 12.06 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.8618, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.8619, allocations: 4 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8619, allocations: 3.984 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.862, allocations: 7.938 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.862, allocations: 3.938 kB / 1.024 GB, free: 13.91 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.85e-05/0.8621, allocations: 105.8 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.8621, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.8622, allocations: 57.14 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.8622, allocations: 7.953 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8622, allocations: 0 / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8622, allocations: 0 / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.8624, allocations: 153.7 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8624, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.8625, allocations: 4.25 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8625, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8625, allocations: 4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8625, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.8625, allocations: 7.891 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.8627, allocations: 85.05 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.8627, allocations: 77.11 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.8627, allocations: 4.031 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.8628, allocations: 4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.8628, allocations: 7.938 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.8628, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.8629, allocations: 87.28 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.7e-07/0.8629, allocations: 4.094 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001838/0.8631, allocations: 4 kB / 1.025 GB, free: 13.2 MB / 0.7794 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 (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.000119/0.8632, allocations: 103.2 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.86e-05/0.8633, allocations: 11.94 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8633, allocations: 3.938 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.477e-05/0.8633, allocations: 7.984 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.8635, allocations: 9.719 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.8638, allocations: 131 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.8641, allocations: 0.677 MB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.8641, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.8641, allocations: 7.438 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.8641, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of Templates: time 0.00272/0.8668, allocations: 308.3 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches