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.009039/0.009039, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00212/0.00212, allocations: 186.3 kB / 16.67 MB, free: 5.977 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 / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 64.36 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2851, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02694/0.3121, allocations: 30.06 MB / 1.237 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6464/0.9586, allocations: 11.71 MB / 1.249 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.9604, allocations: 48.59 kB / 1.249 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004345/0.9647, allocations: 1.49 MB / 1.25 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004018/0.9688, allocations: 1.62 MB / 1.252 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.9726, allocations: 1.463 MB / 1.253 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.9832, allocations: 6.717 MB / 1.26 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.9859, allocations: 1.404 MB / 1.261 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004162/0.9901, allocations: 1.527 MB / 1.262 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.9927, allocations: 1.105 MB / 1.264 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003446/0.9931, allocations: 129 kB / 1.264 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.9964, allocations: 1.309 MB / 1.265 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007667/0.9972, allocations: 0.534 MB / 1.265 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.9991, allocations: 0.9676 MB / 1.266 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005484/1.005, allocations: 3.039 MB / 1.269 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.005, allocations: 4 kB / 1.269 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/1.005, allocations: 1.188 kB / 1.269 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.811e-05/1.005, allocations: 0 / 1.269 GB, free: 2.152 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.005189/1.01, allocations: 2.361 MB / 1.272 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.01, allocations: 10.97 kB / 1.272 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/1.012, allocations: 386.3 kB / 1.272 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004346/1.016, allocations: 2.4 MB / 1.274 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/1.016, allocations: 64.09 kB / 1.274 GB, free: 276 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/1.017, allocations: 88.41 kB / 1.275 GB, free: 272 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/1.018, allocations: 1.014 MB / 1.276 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/1.018, allocations: 1.125 kB / 1.276 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.019, allocations: 31.16 kB / 1.276 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/1.019, allocations: 20.16 kB / 1.276 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/1.02, allocations: 0.7514 MB / 1.276 GB, free: 48 kB / 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.007081/1.027, allocations: 5.249 MB / 1.281 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.029, allocations: 0.5649 MB / 1.282 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/1.029, allocations: 326.4 kB / 1.282 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002783/1.032, allocations: 1.65 MB / 1.284 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007588/1.033, allocations: 330.5 kB / 1.284 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004371/1.033, allocations: 61.88 kB / 1.284 GB, free: 12.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/1.033, allocations: 0 / 1.284 GB, free: 12.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.003447/1.037, allocations: 1.227 MB / 1.285 GB, free: 11.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.037, allocations: 57.23 kB / 1.286 GB, free: 11.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/1.04, allocations: 1.871 MB / 1.287 GB, free: 11.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/1.04, allocations: 38.95 kB / 1.287 GB, free: 11.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/1.041, allocations: 0.7822 MB / 1.288 GB, free: 11.19 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/1.041, allocations: 156.7 kB / 1.288 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/1.041, allocations: 265.8 kB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.041, allocations: 355.5 kB / 1.289 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009116/1.042, allocations: 458.3 kB / 1.289 GB, free: 10.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.043, allocations: 0.833 MB / 1.29 GB, free: 10.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/1.045, allocations: 1.163 MB / 1.291 GB, free: 9.941 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/1.045, allocations: 2.469 kB / 1.291 GB, free: 9.941 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003288/1.048, allocations: 1.595 MB / 1.293 GB, free: 9.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/1.048, allocations: 38 kB / 1.293 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.048, allocations: 8.75 kB / 1.293 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/1.049, allocations: 194.3 kB / 1.293 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/1.05, allocations: 192.5 kB / 1.293 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007308/1.051, allocations: 0.7714 MB / 1.294 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.052, allocations: 67.7 kB / 1.294 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/1.052, allocations: 47.47 kB / 1.294 GB, free: 9.074 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001605/1.054, allocations: 0.8648 MB / 1.295 GB, free: 8.699 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/1.055, allocations: 0.8241 MB / 1.296 GB, free: 8.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001683/1.057, allocations: 1.124 MB / 1.297 GB, free: 7.363 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.372e-06/1.057, allocations: 6.281 kB / 1.297 GB, free: 7.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003095/1.06, allocations: 1.567 MB / 1.298 GB, free: 6.664 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/1.06, allocations: 45.41 kB / 1.298 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.06, allocations: 7.562 kB / 1.298 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/1.06, allocations: 112.1 kB / 1.299 GB, free: 6.594 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/1.061, allocations: 191 kB / 1.299 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/1.063, allocations: 2.365 MB / 1.301 GB, free: 4.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/1.064, allocations: 73.66 kB / 1.301 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.065, allocations: 45.94 kB / 1.301 GB, free: 4.625 MB / 1.014 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.0004214/1.065, allocations: 244.5 kB / 1.301 GB, free: 4.398 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/1.065, allocations: 167.6 kB / 1.302 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/1.068, allocations: 0.908 MB / 1.302 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.068, allocations: 5.734 kB / 1.302 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/1.068, allocations: 0.9375 kB / 1.302 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001608/1.069, allocations: 0.8927 MB / 1.303 GB, free: 3.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/1.074, allocations: 2.001 MB / 1.305 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.074, allocations: 1.312 kB / 1.305 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/1.074, allocations: 86.91 kB / 1.305 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002901/1.074, allocations: 119.9 kB / 1.305 GB, free: 2.434 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/1.074, allocations: 17.05 kB / 1.306 GB, free: 2.426 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006336/1.075, allocations: 0.7431 MB / 1.306 GB, free: 1.836 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.075, allocations: 0.6094 kB / 1.306 GB, free: 1.836 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/1.078, allocations: 1.251 MB / 1.307 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/1.079, allocations: 306.8 kB / 1.308 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/1.079, allocations: 11.02 kB / 1.308 GB, free: 1.016 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/1.08, allocations: 43.92 kB / 1.308 GB, free: 1.008 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.08, allocations: 38.7 kB / 1.308 GB, free: 1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/1.08, allocations: 21.78 kB / 1.308 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002067/1.082, allocations: 1.275 MB / 1.309 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.082, allocations: 0 / 1.309 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002612/1.085, allocations: 0.8118 MB / 1.31 GB, free: 364 kB / 1.014 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.001228/1.086, allocations: 0.4964 MB / 1.31 GB, free: 188 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003814/1.09, allocations: 1.881 MB / 1.312 GB, free: 15.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.09, allocations: 3.938 kB / 1.312 GB, free: 15.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008425/1.091, allocations: 339.7 kB / 1.313 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/1.094, allocations: 0.7883 MB / 1.313 GB, free: 15.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006046/1.1, allocations: 2.992 MB / 1.316 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.101, allocations: 1.44 MB / 1.318 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001758/1.103, allocations: 435 kB / 1.318 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/1.103, allocations: 141 kB / 1.318 GB, free: 12.71 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/1.103, allocations: 0 / 1.318 GB, free: 12.71 MB / 1.029 GB Notification: Performance of Templates: time 0.05708/1.161, allocations: 34.16 MB / 1.352 GB, free: 7.395 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches