Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_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_9_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.001396/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002069/0.002069, allocations: 195.7 kB / 16.14 MB, free: 6.711 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.709, allocations: 140.4 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2676/0.9767, allocations: 235.4 MB / 1.179 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.9979, allocations: 15.92 MB / 1.194 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/1, allocations: 55.62 kB / 1.194 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/1.003, allocations: 0.8783 MB / 1.195 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007408/1.011, allocations: 2.801 MB / 1.198 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003947/1.015, allocations: 1.504 MB / 1.199 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005754/1.02, allocations: 4.654 MB / 1.204 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/1.022, allocations: 1.07 MB / 1.205 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007007/1.029, allocations: 2.271 MB / 1.207 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003066/1.032, allocations: 1.116 MB / 1.208 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002687/1.033, allocations: 64 kB / 1.208 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006893/1.039, allocations: 3.604 MB / 1.212 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007953/1.04, allocations: 426.5 kB / 1.212 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/1.042, allocations: 0.7421 MB / 1.213 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006059/1.048, allocations: 3.108 MB / 1.216 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.048, allocations: 0 / 1.216 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/1.048, allocations: 0 / 1.216 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.053e-05/1.048, allocations: 4 kB / 1.216 GB, free: 15.54 MB / 0.9825 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.004064/1.052, allocations: 1.993 MB / 1.218 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.052, allocations: 12.03 kB / 1.218 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/1.055, allocations: 0.4975 MB / 1.219 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/1.057, allocations: 1.114 MB / 1.22 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009335/1.058, allocations: 253.8 kB / 1.22 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/1.058, allocations: 92 kB / 1.22 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/1.061, allocations: 1.318 MB / 1.221 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/1.061, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.061, allocations: 47.97 kB / 1.221 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/1.061, allocations: 45.98 kB / 1.221 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/1.064, allocations: 1.077 MB / 1.222 GB, free: 8.895 MB / 0.9825 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.008056/1.072, allocations: 6.619 MB / 1.229 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/1.074, allocations: 0.566 MB / 1.229 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/1.074, allocations: 265.2 kB / 1.23 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003983/1.075, allocations: 283.6 kB / 1.23 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.009e-05/1.075, allocations: 46.78 kB / 1.23 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/1.075, allocations: 0 / 1.23 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.00258/1.077, allocations: 0.8634 MB / 1.231 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.077, allocations: 55.41 kB / 1.231 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/1.079, allocations: 1.351 MB / 1.232 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/1.079, allocations: 33.7 kB / 1.232 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005841/1.08, allocations: 0.6911 MB / 1.233 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/1.08, allocations: 118.4 kB / 1.233 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/1.08, allocations: 158 kB / 1.233 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.08, allocations: 326 kB / 1.234 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000888/1.081, allocations: 311.2 kB / 1.234 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.082, allocations: 0.63 MB / 1.234 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/1.084, allocations: 0.8552 MB / 1.235 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/1.084, allocations: 4 kB / 1.235 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002422/1.087, allocations: 0.9995 MB / 1.236 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.087, allocations: 8 kB / 1.236 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.087, allocations: 12 kB / 1.236 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/1.087, allocations: 12 kB / 1.236 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008823/1.088, allocations: 192.3 kB / 1.236 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.088, allocations: 19.94 kB / 1.236 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.089, allocations: 214.8 kB / 1.237 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/1.089, allocations: 43.98 kB / 1.237 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001278/1.091, allocations: 0.5636 MB / 1.237 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001097/1.092, allocations: 0.6222 MB / 1.238 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001714/1.093, allocations: 0.8546 MB / 1.239 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/1.093, allocations: 0 / 1.239 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002489/1.096, allocations: 0.9996 MB / 1.24 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.096, allocations: 18 kB / 1.24 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.096, allocations: 8 kB / 1.24 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.096, allocations: 15.94 kB / 1.24 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/1.097, allocations: 199.7 kB / 1.24 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/1.097, allocations: 15.94 kB / 1.24 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.098, allocations: 155.4 kB / 1.24 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/1.098, allocations: 40 kB / 1.24 GB, free: 5.637 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0003045/1.099, allocations: 231.9 kB / 1.24 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/1.099, allocations: 138.3 kB / 1.24 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/1.101, allocations: 0.6562 MB / 1.241 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.101, allocations: 4.094 kB / 1.241 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.101, allocations: 7.984 kB / 1.241 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.101, allocations: 0 / 1.241 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/1.105, allocations: 1.94 MB / 1.243 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.105, allocations: 4 kB / 1.243 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/1.105, allocations: 99.95 kB / 1.243 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-06/1.105, allocations: 4 kB / 1.243 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/1.105, allocations: 19.92 kB / 1.243 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/1.105, allocations: 4 kB / 1.243 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.105, allocations: 7.938 kB / 1.243 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.107, allocations: 0.8149 MB / 1.244 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005041/1.107, allocations: 299.1 kB / 1.244 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/1.108, allocations: 12 kB / 1.244 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.109, allocations: 99.83 kB / 1.244 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/1.109, allocations: 31.84 kB / 1.244 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/1.109, allocations: 31.97 kB / 1.244 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001516/1.111, allocations: 0.9847 MB / 1.245 GB, free: 52 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.111, allocations: 0 / 1.245 GB, free: 52 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.5461/1.657, allocations: 0.5652 MB / 1.246 GB, free: 285.6 MB / 0.9981 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.0006505/1.657, allocations: 261.9 kB / 1.246 GB, free: 285.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003227/1.661, allocations: 1.082 MB / 1.247 GB, free: 285.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.661, allocations: 0.75 kB / 1.247 GB, free: 285.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007709/1.661, allocations: 266.7 kB / 1.247 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/1.665, allocations: 0.7577 MB / 1.248 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/1.671, allocations: 2.68 MB / 1.251 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/1.672, allocations: 1.182 MB / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001906/1.674, allocations: 363.4 kB / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/1.674, allocations: 96.25 kB / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.674, allocations: 0.875 kB / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0732/1.747, allocations: 24.12 MB / 1.276 GB, free: 272.6 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches