Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_11_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_11_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.001471/0.001471, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 193.8 kB / 16.67 MB, free: 6.57 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3128, allocations: 159.1 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.6662/0.979, allocations: 30.11 MB / 1.25 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.9981, allocations: 11.74 MB / 1.261 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/1, allocations: 52.81 kB / 1.261 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004939/1.005, allocations: 1.504 MB / 1.263 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004762/1.01, allocations: 1.656 MB / 1.265 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003918/1.014, allocations: 1.475 MB / 1.266 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009974/1.024, allocations: 6.749 MB / 1.273 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/1.026, allocations: 1.181 MB / 1.274 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/1.03, allocations: 1.518 MB / 1.275 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/1.032, allocations: 1.107 MB / 1.276 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/1.032, allocations: 127.9 kB / 1.276 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/1.036, allocations: 1.313 MB / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005883/1.036, allocations: 0.5406 MB / 1.278 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/1.037, allocations: 0.9717 MB / 1.279 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00489/1.042, allocations: 3.058 MB / 1.282 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.042, allocations: 4 kB / 1.282 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.042, allocations: 0 / 1.282 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.282e-05/1.042, allocations: 0 / 1.282 GB, free: 1.43 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.004604/1.047, allocations: 2.457 MB / 1.285 GB, free: 15.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.047, allocations: 14.12 kB / 1.285 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/1.049, allocations: 398 kB / 1.285 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004389/1.053, allocations: 2.415 MB / 1.287 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/1.053, allocations: 69.66 kB / 1.287 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/1.053, allocations: 88.84 kB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/1.055, allocations: 1.005 MB / 1.288 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/1.055, allocations: 5.219 kB / 1.288 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/1.055, allocations: 32.75 kB / 1.289 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/1.055, allocations: 19.56 kB / 1.289 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/1.057, allocations: 0.7547 MB / 1.289 GB, free: 13.78 MB / 1.014 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.006766/1.064, allocations: 5.257 MB / 1.294 GB, free: 9.934 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/1.065, allocations: 0.5305 MB / 1.295 GB, free: 9.742 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/1.066, allocations: 300.6 kB / 1.295 GB, free: 9.645 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002535/1.069, allocations: 1.65 MB / 1.297 GB, free: 8.391 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008114/1.07, allocations: 332.3 kB / 1.297 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003108/1.07, allocations: 67.97 kB / 1.297 GB, free: 8.211 MB / 1.014 GB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/1.07, allocations: 0 / 1.297 GB, free: 8.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.003512/1.073, allocations: 1.232 MB / 1.298 GB, free: 7.742 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/1.073, allocations: 56.16 kB / 1.298 GB, free: 7.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/1.076, allocations: 1.871 MB / 1.3 GB, free: 6.945 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/1.076, allocations: 39.75 kB / 1.3 GB, free: 6.906 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007293/1.077, allocations: 0.7939 MB / 1.301 GB, free: 6.289 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/1.077, allocations: 161.8 kB / 1.301 GB, free: 6.168 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/1.078, allocations: 262.4 kB / 1.302 GB, free: 6.055 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.078, allocations: 358.1 kB / 1.302 GB, free: 5.727 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009092/1.079, allocations: 458.8 kB / 1.302 GB, free: 5.574 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.08, allocations: 0.8341 MB / 1.303 GB, free: 4.953 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/1.082, allocations: 1.157 MB / 1.304 GB, free: 4.254 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/1.082, allocations: 4.328 kB / 1.304 GB, free: 4.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.0033/1.085, allocations: 1.602 MB / 1.306 GB, free: 3.594 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/1.085, allocations: 36.53 kB / 1.306 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/1.085, allocations: 12.03 kB / 1.306 GB, free: 3.559 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007112/1.086, allocations: 184.8 kB / 1.306 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/1.087, allocations: 199.1 kB / 1.306 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008314/1.087, allocations: 0.77 MB / 1.307 GB, free: 2.898 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.089, allocations: 64.64 kB / 1.307 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/1.089, allocations: 49.56 kB / 1.307 GB, free: 2.875 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001626/1.09, allocations: 0.8684 MB / 1.308 GB, free: 2.496 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001242/1.092, allocations: 0.8179 MB / 1.309 GB, free: 1.883 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001896/1.094, allocations: 1.118 MB / 1.31 GB, free: 1.184 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.344e-06/1.094, allocations: 6.688 kB / 1.31 GB, free: 1.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002983/1.096, allocations: 1.588 MB / 1.311 GB, free: 472 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/1.097, allocations: 36.77 kB / 1.311 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.097, allocations: 8.609 kB / 1.311 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/1.097, allocations: 115.9 kB / 1.312 GB, free: 404 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/1.097, allocations: 186.3 kB / 1.312 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/1.1, allocations: 2.37 MB / 1.314 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.101, allocations: 74.34 kB / 1.314 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-05/1.101, allocations: 46.3 kB / 1.314 GB, free: 14.43 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.0003366/1.102, allocations: 246.5 kB / 1.314 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/1.102, allocations: 184 kB / 1.315 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/1.104, allocations: 0.8925 MB / 1.315 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.104, allocations: 5.797 kB / 1.315 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/1.104, allocations: 0 / 1.315 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001595/1.106, allocations: 0.8873 MB / 1.316 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/1.11, allocations: 2.002 MB / 1.318 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.11, allocations: 12.48 kB / 1.318 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/1.11, allocations: 79.48 kB / 1.318 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002613/1.11, allocations: 122.5 kB / 1.318 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/1.11, allocations: 14.94 kB / 1.318 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005748/1.111, allocations: 0.7496 MB / 1.319 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.111, allocations: 2.859 kB / 1.319 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/1.113, allocations: 1.242 MB / 1.32 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/1.114, allocations: 320.8 kB / 1.321 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/1.114, allocations: 11.19 kB / 1.321 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/1.115, allocations: 43.75 kB / 1.321 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/1.115, allocations: 38.67 kB / 1.321 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/1.115, allocations: 27.34 kB / 1.321 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001827/1.117, allocations: 1.268 MB / 1.322 GB, free: 10.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.117, allocations: 0 / 1.322 GB, free: 10.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002682/1.119, allocations: 0.8199 MB / 1.323 GB, free: 10.12 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.001187/1.12, allocations: 0.5109 MB / 1.323 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003645/1.124, allocations: 1.747 MB / 1.325 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.124, allocations: 0.9375 kB / 1.325 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000808/1.125, allocations: 316 kB / 1.325 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.128, allocations: 0.7993 MB / 1.326 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/1.135, allocations: 3.041 MB / 1.329 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/1.136, allocations: 1.445 MB / 1.331 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001896/1.138, allocations: 436 kB / 1.331 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/1.138, allocations: 134.2 kB / 1.331 GB, free: 6.273 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/1.138, allocations: 0 / 1.331 GB, free: 6.273 MB / 1.029 GB Notification: Performance of Templates: time 0.0587/1.197, allocations: 33.76 MB / 1.364 GB, free: 14.12 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches