Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_9_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_9_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.0008572/0.0008573, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008494/0.000849, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.9 MB / 0.666 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 11.98 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.757, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02707/0.7841, allocations: 27.18 MB / 0.981 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.7999, allocations: 9.241 MB / 0.99 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.802, allocations: 37.44 kB / 0.99 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.8038, allocations: 463.8 kB / 0.9905 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.8078, allocations: 1.199 MB / 0.9916 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.8112, allocations: 1.055 MB / 0.9927 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005769/0.8169, allocations: 4.294 MB / 0.9969 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.8188, allocations: 1.006 MB / 0.9979 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.8215, allocations: 1.214 MB / 0.999 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.8231, allocations: 0.9879 MB / 1 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.8233, allocations: 52 kB / 1 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.8256, allocations: 0.862 MB / 1.001 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.826, allocations: 322.6 kB / 1.001 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004589/0.8264, allocations: 317 kB / 1.002 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.8285, allocations: 1.808 MB / 1.003 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8285, allocations: 0 / 1.003 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8285, allocations: 0 / 1.003 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.8286, allocations: 0 / 1.003 GB, free: 13.34 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00283/0.8314, allocations: 1.709 MB / 1.005 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.8315, allocations: 15.97 kB / 1.005 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.833, allocations: 341.8 kB / 1.005 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.8356, allocations: 1.343 MB / 1.007 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-05/0.8357, allocations: 73.94 kB / 1.007 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.8358, allocations: 84 kB / 1.007 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.8378, allocations: 1.07 MB / 1.008 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.8378, allocations: 0 / 1.008 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.8379, allocations: 32 kB / 1.008 GB, free: 8.52 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.8379, allocations: 20 kB / 1.008 GB, free: 8.5 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.8399, allocations: 0.886 MB / 1.009 GB, free: 7.609 MB / 0.7637 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.006133/0.846, allocations: 5.22 MB / 1.014 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.8475, allocations: 0.6754 MB / 1.014 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008086/0.8483, allocations: 382.8 kB / 1.015 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002355/0.8507, allocations: 1.729 MB / 1.017 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008817/0.8516, allocations: 411 kB / 1.017 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003792/0.852, allocations: 103.4 kB / 1.017 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.565e-06/0.852, allocations: 0 / 1.017 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.003938/0.8559, allocations: 1.469 MB / 1.018 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.856, allocations: 55.41 kB / 1.018 GB, free: 13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.8577, allocations: 1.314 MB / 1.02 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.8577, allocations: 41.69 kB / 1.02 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/0.8583, allocations: 0.6527 MB / 1.02 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.8584, allocations: 153.8 kB / 1.021 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.8585, allocations: 16 kB / 1.021 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8586, allocations: 334 kB / 1.021 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000698/0.8593, allocations: 301.7 kB / 1.021 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000952/0.8602, allocations: 0.6598 MB / 1.022 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/0.8611, allocations: 402.2 kB / 1.022 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8611, allocations: 4 kB / 1.022 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002594/0.8637, allocations: 1.211 MB / 1.023 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.8639, allocations: 347.2 kB / 1.024 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.8639, allocations: 12 kB / 1.024 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007846/0.8647, allocations: 216.6 kB / 1.024 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.8654, allocations: 167.8 kB / 1.024 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009047/0.8663, allocations: 0.8682 MB / 1.025 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.8674, allocations: 108.5 kB / 1.025 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.8676, allocations: 43.92 kB / 1.025 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.8676, allocations: 6.188 kB / 1.025 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001869/0.8694, allocations: 0.926 MB / 1.026 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.8695, allocations: 8 kB / 1.026 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.8698, allocations: 149.2 kB / 1.026 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.8704, allocations: 147.8 kB / 1.026 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.8729, allocations: 2.349 MB / 1.029 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.874, allocations: 96.48 kB / 1.029 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.8741, allocations: 39.98 kB / 1.029 GB, free: 1.965 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007987/0.8749, allocations: 481.8 kB / 1.029 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.8751, allocations: 134.4 kB / 1.029 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.8775, allocations: 1.025 MB / 1.03 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.8775, allocations: 4 kB / 1.03 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.8775, allocations: 0 / 1.03 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001785/0.8793, allocations: 1.001 MB / 1.031 GB, free: 15.24 MB / 0.795 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 postOpt removeSimpleEquations (simulation): time 0.003943/0.8833, allocations: 2.084 MB / 1.033 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8833, allocations: 0 / 1.033 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.8838, allocations: 111.9 kB / 1.033 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003249/0.8841, allocations: 140.8 kB / 1.034 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.8842, allocations: 15.92 kB / 1.034 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007064/0.8849, allocations: 0.8138 MB / 1.034 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8849, allocations: 4 kB / 1.034 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.8877, allocations: 1.397 MB / 1.036 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005573/0.8883, allocations: 291.4 kB / 1.036 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.8885, allocations: 15.98 kB / 1.036 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/0.8894, allocations: 87.91 kB / 1.036 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.8896, allocations: 36.48 kB / 1.036 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.8896, allocations: 31.92 kB / 1.036 GB, free: 10.06 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001566/0.8912, allocations: 0.9092 MB / 1.037 GB, free: 9.152 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8912, allocations: 0 / 1.037 GB, free: 9.152 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002645/0.8939, allocations: 0.6823 MB / 1.038 GB, free: 8.469 MB / 0.795 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.8949, allocations: 360.2 kB / 1.038 GB, free: 8.113 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003504/0.8984, allocations: 1.519 MB / 1.04 GB, free: 6.559 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.8985, allocations: 4.375 kB / 1.04 GB, free: 6.555 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009596/0.8994, allocations: 398.2 kB / 1.04 GB, free: 6.168 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.9024, allocations: 0.5891 MB / 1.041 GB, free: 5.582 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.9072, allocations: 2.753 MB / 1.043 GB, free: 2.801 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.9084, allocations: 1.271 MB / 1.044 GB, free: 1.496 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001443/0.9099, allocations: 314.4 kB / 1.045 GB, free: 1.184 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.9102, allocations: 103.4 kB / 1.045 GB, free: 1.082 MB / 0.795 GB Notification: Performance of SimCode: time 9.92e-07/0.9102, allocations: 0 / 1.045 GB, free: 1.082 MB / 0.795 GB Notification: Performance of Templates: time 0.04751/0.9577, allocations: 25.33 MB / 1.07 GB, free: 8.074 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches