Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 110 kB / 16.41 MB, free: 6.508 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.001413/0.001413, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9356/0.9371, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03599/0.9731, allocations: 30.06 MB / 1.238 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.9922, allocations: 11.71 MB / 1.249 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.9946, allocations: 47.75 kB / 1.249 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004863/0.9995, allocations: 1.497 MB / 1.251 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00518/1.005, allocations: 1.625 MB / 1.252 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004572/1.009, allocations: 1.468 MB / 1.254 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01036/1.02, allocations: 6.734 MB / 1.26 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/1.022, allocations: 1.396 MB / 1.262 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/1.026, allocations: 1.516 MB / 1.263 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/1.028, allocations: 1.109 MB / 1.264 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005711/1.029, allocations: 128 kB / 1.264 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/1.033, allocations: 1.31 MB / 1.266 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008711/1.033, allocations: 0.5334 MB / 1.266 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/1.036, allocations: 0.9716 MB / 1.267 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006039/1.042, allocations: 3.038 MB / 1.27 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.042, allocations: 0 / 1.27 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.575e-06/1.042, allocations: 0 / 1.27 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001118/1.042, allocations: 0 / 1.27 GB, free: 14.28 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006177/1.048, allocations: 2.37 MB / 1.272 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.048, allocations: 8.031 kB / 1.272 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/1.05, allocations: 381.2 kB / 1.273 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004669/1.055, allocations: 2.399 MB / 1.275 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/1.055, allocations: 66 kB / 1.275 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/1.055, allocations: 84 kB / 1.275 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/1.057, allocations: 1.009 MB / 1.276 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/1.057, allocations: 7.938 kB / 1.276 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/1.057, allocations: 39.92 kB / 1.276 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/1.057, allocations: 20 kB / 1.276 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/1.059, allocations: 0.7493 MB / 1.277 GB, free: 6.977 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.007539/1.067, allocations: 5.251 MB / 1.282 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/1.068, allocations: 0.5668 MB / 1.283 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007299/1.069, allocations: 317.5 kB / 1.283 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002725/1.072, allocations: 1.646 MB / 1.285 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007762/1.073, allocations: 334.6 kB / 1.285 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005094/1.073, allocations: 63.34 kB / 1.285 GB, free: 14.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=42): time 3.416e-06/1.073, allocations: 0 / 1.285 GB, free: 14.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.003481/1.077, allocations: 1.227 MB / 1.286 GB, free: 13.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.077, allocations: 55.41 kB / 1.286 GB, free: 12.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/1.08, allocations: 1.869 MB / 1.288 GB, free: 11.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.82e-05/1.08, allocations: 45.69 kB / 1.288 GB, free: 11.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007612/1.081, allocations: 0.7792 MB / 1.289 GB, free: 10.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/1.081, allocations: 153.9 kB / 1.289 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/1.081, allocations: 274.3 kB / 1.289 GB, free: 9.801 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.081, allocations: 345.9 kB / 1.29 GB, free: 9.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008801/1.082, allocations: 464.9 kB / 1.29 GB, free: 9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.083, allocations: 0.8276 MB / 1.291 GB, free: 8.012 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/1.085, allocations: 1.161 MB / 1.292 GB, free: 6.727 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.085, allocations: 11.94 kB / 1.292 GB, free: 6.715 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003383/1.089, allocations: 1.584 MB / 1.294 GB, free: 5.117 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/1.089, allocations: 33.7 kB / 1.294 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.089, allocations: 11.98 kB / 1.294 GB, free: 5.066 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/1.09, allocations: 197.2 kB / 1.294 GB, free: 4.871 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/1.09, allocations: 199.6 kB / 1.294 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008247/1.091, allocations: 0.7668 MB / 1.295 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.093, allocations: 67.95 kB / 1.295 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.093, allocations: 47.98 kB / 1.295 GB, free: 3.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001655/1.094, allocations: 0.8686 MB / 1.296 GB, free: 2.902 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001176/1.096, allocations: 0.8149 MB / 1.296 GB, free: 1.926 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00192/1.097, allocations: 1.133 MB / 1.298 GB, free: 0.668 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.654e-05/1.097, allocations: 0 / 1.298 GB, free: 0.668 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003378/1.101, allocations: 1.58 MB / 1.299 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/1.101, allocations: 38.28 kB / 1.299 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/1.101, allocations: 8 kB / 1.299 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/1.101, allocations: 108.8 kB / 1.299 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/1.102, allocations: 187.7 kB / 1.299 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/1.104, allocations: 2.372 MB / 1.302 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.106, allocations: 67.95 kB / 1.302 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.106, allocations: 47.98 kB / 1.302 GB, free: 12.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000367/1.106, allocations: 247.6 kB / 1.302 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000534/1.107, allocations: 165.8 kB / 1.302 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/1.109, allocations: 0.9119 MB / 1.303 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.11, allocations: 4 kB / 1.303 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/1.11, allocations: 0 / 1.303 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001545/1.111, allocations: 0.8881 MB / 1.304 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/1.115, allocations: 1.998 MB / 1.306 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.115, allocations: 0 / 1.306 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/1.116, allocations: 83.88 kB / 1.306 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002944/1.116, allocations: 124.7 kB / 1.306 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/1.116, allocations: 20.05 kB / 1.306 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006098/1.117, allocations: 0.753 MB / 1.307 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.117, allocations: 3.984 kB / 1.307 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/1.119, allocations: 1.237 MB / 1.308 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007528/1.12, allocations: 310.9 kB / 1.308 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/1.12, allocations: 12 kB / 1.308 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/1.121, allocations: 43.86 kB / 1.308 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.121, allocations: 47.95 kB / 1.309 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/1.121, allocations: 23.98 kB / 1.309 GB, free: 4.973 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00232/1.124, allocations: 1.269 MB / 1.31 GB, free: 3.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.124, allocations: 0 / 1.31 GB, free: 3.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002677/1.126, allocations: 0.8152 MB / 1.311 GB, free: 2.863 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/1.128, allocations: 0.4959 MB / 1.311 GB, free: 2.363 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003696/1.132, allocations: 1.868 MB / 1.313 GB, free: 472 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.132, allocations: 0 / 1.313 GB, free: 472 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00083/1.132, allocations: 341.2 kB / 1.313 GB, free: 132 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/1.136, allocations: 0.8006 MB / 1.314 GB, free: 15.35 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007605/1.144, allocations: 3.053 MB / 1.317 GB, free: 12.26 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.145, allocations: 1.437 MB / 1.318 GB, free: 10.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/1.146, allocations: 143.3 kB / 1.319 GB, free: 10.65 MB / 1.045 GB Notification: Performance of SimCode: time 8.12e-07/1.146, allocations: 0 / 1.319 GB, free: 10.65 MB / 1.045 GB Notification: Performance of Templates: time 0.05574/1.202, allocations: 36.97 MB / 1.355 GB, free: 5.867 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches