Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 108 kB / 16.36 MB, free: 5.824 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.001689/0.001689, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.403/2.403, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.56 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3136, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.783/1.097, allocations: 237.6 MB / 1.259 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02127/1.118, allocations: 15.78 MB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/1.121, allocations: 63.62 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0029/1.124, allocations: 1.033 MB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008089/1.132, allocations: 2.979 MB / 1.278 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004587/1.136, allocations: 1.682 MB / 1.28 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005881/1.142, allocations: 3.433 MB / 1.283 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/1.144, allocations: 1.295 MB / 1.284 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006588/1.151, allocations: 2.491 MB / 1.287 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/1.153, allocations: 1.082 MB / 1.288 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/1.153, allocations: 120 kB / 1.288 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005556/1.159, allocations: 3.094 MB / 1.291 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004702/1.159, allocations: 478.4 kB / 1.291 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009066/1.16, allocations: 0.8162 MB / 1.292 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004929/1.165, allocations: 2.96 MB / 1.295 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.165, allocations: 0 / 1.295 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/1.165, allocations: 0 / 1.295 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.044e-05/1.165, allocations: 0 / 1.295 GB, free: 10.38 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003523/1.169, allocations: 2.002 MB / 1.297 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.169, allocations: 12.02 kB / 1.297 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/1.172, allocations: 0.4976 MB / 1.298 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/1.174, allocations: 1.164 MB / 1.299 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/1.174, allocations: 77.98 kB / 1.299 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/1.174, allocations: 100 kB / 1.299 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/1.177, allocations: 1.346 MB / 1.3 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.177, allocations: 7.938 kB / 1.3 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-05/1.177, allocations: 51.98 kB / 1.3 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/1.177, allocations: 46 kB / 1.3 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/1.179, allocations: 1.05 MB / 1.301 GB, free: 3.793 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007744/1.187, allocations: 7.383 MB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/1.188, allocations: 0.5425 MB / 1.309 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/1.189, allocations: 265.2 kB / 1.309 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/1.189, allocations: 275.6 kB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.189, allocations: 46.78 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/1.189, allocations: 0 / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002248/1.191, allocations: 0.8443 MB / 1.31 GB, free: 9.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.192, allocations: 59.34 kB / 1.311 GB, free: 9.816 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/1.193, allocations: 1.391 MB / 1.312 GB, free: 8.414 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/1.193, allocations: 33.7 kB / 1.312 GB, free: 8.375 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005499/1.194, allocations: 0.7026 MB / 1.313 GB, free: 7.668 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/1.194, allocations: 118.3 kB / 1.313 GB, free: 7.551 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/1.194, allocations: 166.4 kB / 1.313 GB, free: 7.379 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.194, allocations: 330 kB / 1.313 GB, free: 7.051 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007796/1.195, allocations: 320.6 kB / 1.313 GB, free: 6.734 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/1.196, allocations: 0.6814 MB / 1.314 GB, free: 5.879 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/1.198, allocations: 0.9308 MB / 1.315 GB, free: 4.789 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.198, allocations: 4 kB / 1.315 GB, free: 4.785 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002263/1.2, allocations: 1.058 MB / 1.316 GB, free: 3.719 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/1.2, allocations: 11.94 kB / 1.316 GB, free: 3.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.2, allocations: 12 kB / 1.316 GB, free: 3.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/1.2, allocations: 16.72 kB / 1.316 GB, free: 3.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/1.201, allocations: 199.7 kB / 1.316 GB, free: 3.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/1.201, allocations: 27.91 kB / 1.316 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/1.203, allocations: 186.6 kB / 1.317 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/1.203, allocations: 44 kB / 1.317 GB, free: 3.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001277/1.204, allocations: 0.5682 MB / 1.317 GB, free: 2.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001102/1.205, allocations: 0.6814 MB / 1.318 GB, free: 1.805 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001626/1.207, allocations: 0.9293 MB / 1.319 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/1.207, allocations: 4 kB / 1.319 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002662/1.209, allocations: 1.043 MB / 1.32 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.209, allocations: 19.97 kB / 1.32 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.21, allocations: 12 kB / 1.32 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.21, allocations: 16 kB / 1.32 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/1.21, allocations: 195.7 kB / 1.32 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/1.21, allocations: 23.92 kB / 1.32 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.212, allocations: 131.5 kB / 1.32 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/1.212, allocations: 43.98 kB / 1.32 GB, free: 15.23 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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 0.0003887/1.213, allocations: 244.6 kB / 1.32 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/1.213, allocations: 142.2 kB / 1.321 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/1.215, allocations: 0.6486 MB / 1.321 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.215, allocations: 4 kB / 1.321 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.215, allocations: 3.984 kB / 1.321 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.215, allocations: 0 / 1.321 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/1.218, allocations: 1.896 MB / 1.323 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/1.218, allocations: 4 kB / 1.323 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/1.219, allocations: 92.02 kB / 1.323 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/1.219, allocations: 7.938 kB / 1.323 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/1.219, allocations: 19.98 kB / 1.323 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/1.219, allocations: 7.938 kB / 1.323 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.219, allocations: 7.938 kB / 1.323 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/1.221, allocations: 0.7995 MB / 1.324 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005796/1.221, allocations: 299.1 kB / 1.324 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/1.221, allocations: 15.98 kB / 1.324 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/1.222, allocations: 71.91 kB / 1.324 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/1.222, allocations: 35.84 kB / 1.324 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/1.222, allocations: 23.98 kB / 1.324 GB, free: 10.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001504/1.224, allocations: 1.005 MB / 1.325 GB, free: 9.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.5e-07/1.224, allocations: 0 / 1.325 GB, free: 9.703 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001797/1.226, allocations: 0.5696 MB / 1.326 GB, free: 9.133 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0005513/1.226, allocations: 268.1 kB / 1.326 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002675/1.229, allocations: 1.126 MB / 1.327 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.229, allocations: 192 / 1.327 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006545/1.23, allocations: 256.3 kB / 1.327 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/1.233, allocations: 0.7426 MB / 1.328 GB, free: 6.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/1.238, allocations: 2.238 MB / 1.33 GB, free: 4.441 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/1.239, allocations: 1.182 MB / 1.332 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001273/1.24, allocations: 387.8 kB / 1.332 GB, free: 2.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/1.24, allocations: 99.42 kB / 1.332 GB, free: 2.75 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/1.24, allocations: 0 / 1.332 GB, free: 2.75 MB / 1.029 GB Notification: Performance of Templates: time 0.04317/1.283, allocations: 24.99 MB / 1.356 GB, free: 10.09 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches