Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_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.001037/0.001037, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.01054/0.01054, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004144, allocations: 12.5 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3447, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0007718/0.3455, allocations: 278.8 kB / 1.059 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001871/0.3458, allocations: 39.81 kB / 1.059 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.3458, allocations: 0 / 1.059 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.3459, allocations: 0 / 1.059 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.346, allocations: 4 kB / 1.059 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.516e-05/0.3461, allocations: 11.92 kB / 1.059 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.353e-05/0.3462, allocations: 8 kB / 1.059 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.3462, allocations: 4 kB / 1.059 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.3463, allocations: 7.984 kB / 1.059 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3464, allocations: 11.92 kB / 1.059 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.3464, allocations: 4 kB / 1.059 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-06/0.3464, allocations: 0 / 1.059 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.3465, allocations: 4 kB / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.3465, allocations: 33.62 kB / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.975e-05/0.3466, allocations: 8 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3466, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.516e-06/0.3466, allocations: 3.938 kB / 1.059 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3466, allocations: 3.938 kB / 1.059 GB, free: 5.094 MB / 0.8106 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.0004322/0.3471, allocations: 327.5 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3471, allocations: 12.03 kB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.3472, allocations: 8.844 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.3474, allocations: 180.6 kB / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3474, allocations: 384 / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3474, allocations: 4.375 kB / 1.06 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.3475, allocations: 30.25 kB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3475, allocations: 4.188 kB / 1.06 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3476, allocations: 3.938 kB / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3476, allocations: 0 / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.3476, allocations: 0 / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.3478, allocations: 157.7 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.538e-05/0.3478, allocations: 26.53 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.3478, allocations: 8.922 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.3479, allocations: 0 / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3479, allocations: 30.56 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3479, allocations: 0 / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.3481, allocations: 57.66 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.3481, allocations: 55.39 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3482, allocations: 109.8 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3482, allocations: 25.7 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.3483, allocations: 80.14 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3483, allocations: 7.906 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.3483, allocations: 9.719 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3485, allocations: 314.8 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.3485, allocations: 7.922 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.31e-05/0.3485, allocations: 21.75 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.3486, allocations: 21.7 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3486, allocations: 0 / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.575e-05/0.3487, allocations: 49.62 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3487, allocations: 8 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3487, allocations: 8.062 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3487, allocations: 0 / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.3488, allocations: 4 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3488, allocations: 0 / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.3488, allocations: 3.938 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.3489, allocations: 4 kB / 1.061 GB, free: 3.309 MB / 0.8106 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.346e-05/0.3489, allocations: 117.8 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.349, allocations: 7.906 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.3491, allocations: 53.16 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3491, allocations: 3.984 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3491, allocations: 4 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3491, allocations: 0 / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3492, allocations: 153.7 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3492, allocations: 0 / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.3493, allocations: 7.984 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3493, allocations: 0 / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3493, allocations: 3.938 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3493, allocations: 0 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3493, allocations: 256 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.3495, allocations: 81.09 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.3495, allocations: 81.09 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.3495, allocations: 11.94 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.3496, allocations: 4.031 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.3496, allocations: 0 / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.3496, allocations: 0 / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.3497, allocations: 91.27 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3497, allocations: 4.094 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001807/0.3499, allocations: 4 kB / 1.061 GB, free: 2.59 MB / 0.8106 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 (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.0001246/0.35, allocations: 91.25 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.3501, allocations: 19.92 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3501, allocations: 0 / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.479e-05/0.3501, allocations: 4 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.3503, allocations: 4 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.3506, allocations: 132.7 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3509, allocations: 0.677 MB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.351, allocations: 11.92 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.351, allocations: 7.438 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.351, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of Templates: time 0.002384/0.3534, allocations: 293 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches