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.001132/0.001132, allocations: 91.92 kB / 16.02 MB, free: 80 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.001373/0.001374, allocations: 180.6 kB / 16.92 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.289 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.439/2.439, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 12.28 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6982, allocations: 142.4 MB / 0.9557 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02823/0.7264, allocations: 28.72 MB / 0.9838 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01532/0.7418, allocations: 9.861 MB / 0.9934 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.7439, allocations: 43.69 kB / 0.9934 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.746, allocations: 0.593 MB / 0.994 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00412/0.7502, allocations: 1.344 MB / 0.9953 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.7537, allocations: 1.236 MB / 0.9965 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006221/0.7599, allocations: 5.02 MB / 1.001 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.7619, allocations: 1.118 MB / 1.003 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.7645, allocations: 1.268 MB / 1.004 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.7661, allocations: 1.015 MB / 1.005 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.7663, allocations: 52 kB / 1.005 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.7686, allocations: 1.049 MB / 1.006 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.769, allocations: 322.7 kB / 1.006 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0008684/0.7699, allocations: 0.7203 MB / 1.007 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.7722, allocations: 1.796 MB / 1.009 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7722, allocations: 4 kB / 1.009 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7722, allocations: 4 kB / 1.009 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.7722, allocations: 0 / 1.009 GB, free: 9.156 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.003118/0.7754, allocations: 1.67 MB / 1.01 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.7754, allocations: 8.031 kB / 1.01 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.7771, allocations: 354.7 kB / 1.011 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.78, allocations: 1.355 MB / 1.012 GB, free: 5.664 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.78, allocations: 66 kB / 1.012 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.7802, allocations: 80 kB / 1.012 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.7821, allocations: 1.011 MB / 1.013 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.7822, allocations: 0 / 1.013 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.671e-05/0.7823, allocations: 35.98 kB / 1.013 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.7823, allocations: 24 kB / 1.013 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.784, allocations: 0.7727 MB / 1.014 GB, free: 3.625 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.006674/0.7907, allocations: 5.004 MB / 1.019 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.7922, allocations: 0.6242 MB / 1.019 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/0.7929, allocations: 341.4 kB / 1.02 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002414/0.7953, allocations: 1.603 MB / 1.021 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000802/0.7962, allocations: 363 kB / 1.022 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004701/0.7966, allocations: 99.45 kB / 1.022 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.424e-06/0.7966, allocations: 0 / 1.022 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.003432/0.8001, allocations: 1.251 MB / 1.023 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.8001, allocations: 59.41 kB / 1.023 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.8018, allocations: 1.263 MB / 1.024 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.8019, allocations: 41.7 kB / 1.024 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000554/0.8025, allocations: 0.6528 MB / 1.025 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.8026, allocations: 145.9 kB / 1.025 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.8027, allocations: 65.69 kB / 1.025 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8029, allocations: 337.9 kB / 1.025 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/0.8035, allocations: 281.8 kB / 1.026 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/0.8044, allocations: 0.6198 MB / 1.026 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.8059, allocations: 0.8652 MB / 1.027 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.806, allocations: 4 kB / 1.027 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002498/0.8085, allocations: 1.129 MB / 1.028 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.8087, allocations: 353.1 kB / 1.029 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.8087, allocations: 11.98 kB / 1.029 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/0.8094, allocations: 192.5 kB / 1.029 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.81, allocations: 159.7 kB / 1.029 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007624/0.8108, allocations: 0.7591 MB / 1.03 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009439/0.8117, allocations: 92.5 kB / 1.03 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.8118, allocations: 39.98 kB / 1.03 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.8118, allocations: 4 kB / 1.03 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/0.8137, allocations: 0.9634 MB / 1.031 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.8137, allocations: 8.625 kB / 1.031 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.8139, allocations: 108.8 kB / 1.031 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.8144, allocations: 151.7 kB / 1.031 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.8167, allocations: 2.154 MB / 1.033 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009706/0.8177, allocations: 80.64 kB / 1.033 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.8178, allocations: 39.98 kB / 1.033 GB, free: 14.58 MB / 0.795 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 (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 (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0008019/0.8186, allocations: 478.7 kB / 1.034 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.8188, allocations: 130.3 kB / 1.034 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.8209, allocations: 0.9196 MB / 1.035 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.8209, allocations: 4 kB / 1.035 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.8209, allocations: 0 / 1.035 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/0.8225, allocations: 0.9155 MB / 1.036 GB, free: 12.06 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.003608/0.8261, allocations: 1.916 MB / 1.037 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.8262, allocations: 4.062 kB / 1.037 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.8266, allocations: 91.86 kB / 1.038 GB, free: 9.961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/0.8269, allocations: 128.7 kB / 1.038 GB, free: 9.832 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.827, allocations: 11.98 kB / 1.038 GB, free: 9.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006536/0.8276, allocations: 0.7474 MB / 1.038 GB, free: 9.047 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8277, allocations: 4 kB / 1.038 GB, free: 9.043 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.8302, allocations: 1.256 MB / 1.04 GB, free: 7.758 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/0.8308, allocations: 263.4 kB / 1.04 GB, free: 7.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.8309, allocations: 19.92 kB / 1.04 GB, free: 7.461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/0.8316, allocations: 83.78 kB / 1.04 GB, free: 7.379 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.8317, allocations: 36.38 kB / 1.04 GB, free: 7.344 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/0.8318, allocations: 23.98 kB / 1.04 GB, free: 7.32 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001229/0.833, allocations: 0.878 MB / 1.041 GB, free: 6.441 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.41e-07/0.833, allocations: 0 / 1.041 GB, free: 6.441 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001885/0.8349, allocations: 0.6395 MB / 1.041 GB, free: 5.801 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 (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.000901/0.8358, allocations: 363.2 kB / 1.042 GB, free: 5.445 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002994/0.8388, allocations: 1.389 MB / 1.043 GB, free: 4.023 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.8388, allocations: 0 / 1.043 GB, free: 4.023 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008085/0.8397, allocations: 355.4 kB / 1.044 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/0.8426, allocations: 0.5795 MB / 1.044 GB, free: 3.105 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.8475, allocations: 2.776 MB / 1.047 GB, free: 300 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.8486, allocations: 1.261 MB / 1.048 GB, free: 15 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.849, allocations: 111.4 kB / 1.048 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of SimCode: time 8.51e-07/0.849, allocations: 0 / 1.048 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of Templates: time 0.04361/0.8926, allocations: 28.58 MB / 1.076 GB, free: 2.473 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches