Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 113 kB / 16.42 MB, free: 6.449 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.001013/0.001013, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/0.7091, allocations: 151.7 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.0717/0.7808, allocations: 72.77 MB / 1.238 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02654/0.8074, allocations: 18.82 MB / 1.257 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00337/0.8108, allocations: 95.5 kB / 1.257 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005438/0.8162, allocations: 1.807 MB / 1.259 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007133/0.8234, allocations: 2.591 MB / 1.261 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00544/0.8288, allocations: 2.173 MB / 1.263 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01305/0.8419, allocations: 10.96 MB / 1.274 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007594/0.8495, allocations: 6.164 MB / 1.28 GB, free: 200 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00642/0.856, allocations: 3.358 MB / 1.283 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.86, allocations: 2.571 MB / 1.286 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009436/0.861, allocations: 268 kB / 1.286 GB, free: 9.984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.865, allocations: 1.553 MB / 1.288 GB, free: 8.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.8663, allocations: 0.9067 MB / 1.288 GB, free: 7.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003325/0.8697, allocations: 1.959 MB / 1.29 GB, free: 5.551 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009131/0.8788, allocations: 5.35 MB / 1.296 GB, free: 188 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.8788, allocations: 0 / 1.296 GB, free: 188 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8788, allocations: 0 / 1.296 GB, free: 188 kB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001959/0.879, allocations: 0 / 1.296 GB, free: 188 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.008676/0.8877, allocations: 4.369 MB / 1.3 GB, free: 11.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.8878, allocations: 20.81 kB / 1.3 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.8908, allocations: 0.6706 MB / 1.301 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006989/0.8978, allocations: 3.808 MB / 1.304 GB, free: 7.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.8979, allocations: 139.1 kB / 1.304 GB, free: 7.023 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.8982, allocations: 191.9 kB / 1.305 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003818/0.9021, allocations: 2.356 MB / 1.307 GB, free: 4.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.9021, allocations: 7.938 kB / 1.307 GB, free: 4.312 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.9023, allocations: 64 kB / 1.307 GB, free: 4.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.9023, allocations: 48 kB / 1.307 GB, free: 4.203 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003524/0.9059, allocations: 1.904 MB / 1.309 GB, free: 2.293 MB / 1.029 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.01404/0.9199, allocations: 11.49 MB / 1.32 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.9226, allocations: 1.335 MB / 1.321 GB, free: 4.965 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.9243, allocations: 1.032 MB / 1.322 GB, free: 3.934 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006166/0.9305, allocations: 3.722 MB / 1.326 GB, free: 15.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/0.9319, allocations: 0.7702 MB / 1.327 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001144/0.9331, allocations: 246.7 kB / 1.327 GB, free: 14.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=94): time 3.647e-06/0.9331, allocations: 4 kB / 1.327 GB, free: 14.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=94): time 0.01214/0.9453, allocations: 4.235 MB / 1.331 GB, free: 10.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.9453, allocations: 72.34 kB / 1.331 GB, free: 10.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005708/0.951, allocations: 3.471 MB / 1.335 GB, free: 7.043 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002429/0.9513, allocations: 61.69 kB / 1.335 GB, free: 6.977 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.9529, allocations: 1.564 MB / 1.336 GB, free: 5.395 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003991/0.9533, allocations: 339.2 kB / 1.336 GB, free: 5.059 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008626/0.9541, allocations: 455.5 kB / 1.337 GB, free: 4.609 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9543, allocations: 301.1 kB / 1.337 GB, free: 4.312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.956, allocations: 0.8722 MB / 1.338 GB, free: 3.438 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.9582, allocations: 1.667 MB / 1.34 GB, free: 1.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/0.9618, allocations: 2.267 MB / 1.342 GB, free: 14.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.9618, allocations: 7.938 kB / 1.342 GB, free: 14.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007083/0.9689, allocations: 3.342 MB / 1.345 GB, free: 11.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.969, allocations: 37.7 kB / 1.345 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.969, allocations: 16 kB / 1.345 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.9715, allocations: 0.6922 MB / 1.346 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.9729, allocations: 341.3 kB / 1.346 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.9748, allocations: 1.909 MB / 1.348 GB, free: 8.496 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.9771, allocations: 124.3 kB / 1.348 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.9773, allocations: 95.95 kB / 1.348 GB, free: 8.281 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002854/0.9802, allocations: 1.589 MB / 1.35 GB, free: 6.688 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002036/0.9823, allocations: 1.641 MB / 1.351 GB, free: 4.684 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003153/0.9854, allocations: 2.202 MB / 1.354 GB, free: 2.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.515e-05/0.9854, allocations: 8 kB / 1.354 GB, free: 2.242 MB / 1.076 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005711/0.9912, allocations: 3.217 MB / 1.357 GB, free: 14.98 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.9912, allocations: 41.69 kB / 1.357 GB, free: 14.93 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.9913, allocations: 24.09 kB / 1.357 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009029/0.9922, allocations: 481.4 kB / 1.357 GB, free: 14.43 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.9935, allocations: 349.2 kB / 1.358 GB, free: 14.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007139/1.001, allocations: 6.322 MB / 1.364 GB, free: 7.473 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.003, allocations: 141.5 kB / 1.364 GB, free: 7.336 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/1.003, allocations: 95.95 kB / 1.364 GB, free: 7.242 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005827/1.004, allocations: 295.1 kB / 1.364 GB, free: 6.949 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000851/1.005, allocations: 331.7 kB / 1.365 GB, free: 6.621 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005217/1.01, allocations: 2.463 MB / 1.367 GB, free: 4.137 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003513/1.014, allocations: 2.078 MB / 1.369 GB, free: 1.984 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.014, allocations: 4 kB / 1.369 GB, free: 1.98 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.015, allocations: 0.5279 MB / 1.37 GB, free: 1.43 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007367/1.016, allocations: 20 kB / 1.37 GB, free: 1.41 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.017, allocations: 79.83 kB / 1.37 GB, free: 1.332 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/1.018, allocations: 124.7 kB / 1.37 GB, free: 1.211 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004771/1.022, allocations: 2.055 MB / 1.372 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004827/1.027, allocations: 2.632 MB / 1.374 GB, free: 12.49 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001281/1.029, allocations: 0.6912 MB / 1.375 GB, free: 11.8 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.004072/1.033, allocations: 2.351 MB / 1.377 GB, free: 9.438 MB / 1.107 GB Notification: Performance of Backend: time 5.42e-07/1.033, allocations: 3.938 kB / 1.377 GB, free: 9.434 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008871/1.042, allocations: 3.763 MB / 1.381 GB, free: 5.629 MB / 1.107 GB Notification: Performance of SimCode: time 0.01519/1.057, allocations: 7.527 MB / 1.388 GB, free: 14.06 MB / 1.123 GB Notification: Performance of Templates: time 0.1108/1.168, allocations: 65.18 MB / 1.452 GB, free: 13.56 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches