Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001386/0.001386, allocations: 177.3 kB / 15.95 MB, free: 216 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.347/1.347, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.325/2.325, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 8 kB / 0.8145 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.7494, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02771/0.7771, allocations: 27.43 MB / 0.9803 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.7926, allocations: 9.147 MB / 0.9892 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/0.7947, allocations: 37.75 kB / 0.9892 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.7971, allocations: 0.5594 MB / 0.9898 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005226/0.8024, allocations: 1.493 MB / 0.9913 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00436/0.8068, allocations: 1.339 MB / 0.9926 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004985/0.8118, allocations: 2.855 MB / 0.9953 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.8143, allocations: 1.617 MB / 0.9969 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.8173, allocations: 1.323 MB / 0.9982 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.819, allocations: 0.9372 MB / 0.9991 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.8192, allocations: 68 kB / 0.9992 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.8214, allocations: 0.7607 MB / 0.9999 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003866/0.8218, allocations: 370.5 kB / 1 GB, free: 148 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.8224, allocations: 396.8 kB / 1.001 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.8249, allocations: 2.116 MB / 1.003 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.8249, allocations: 0 / 1.003 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8249, allocations: 0 / 1.003 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.518e-05/0.8249, allocations: 0 / 1.003 GB, free: 13.63 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003706/0.8287, allocations: 2.073 MB / 1.005 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.8287, allocations: 8.031 kB / 1.005 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.8306, allocations: 405.1 kB / 1.005 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.8343, allocations: 1.642 MB / 1.007 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/0.8344, allocations: 85.94 kB / 1.007 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.8346, allocations: 104 kB / 1.007 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.8371, allocations: 1.35 MB / 1.008 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.8372, allocations: 4 kB / 1.008 GB, free: 7.781 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.8373, allocations: 36 kB / 1.008 GB, free: 7.746 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.8373, allocations: 27.95 kB / 1.008 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.84, allocations: 1.159 MB / 1.009 GB, free: 6.559 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.008738/0.8487, allocations: 6.993 MB / 1.016 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.8504, allocations: 0.6948 MB / 1.017 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003111/0.8535, allocations: 1.913 MB / 1.019 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.8545, allocations: 436.9 kB / 1.019 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000591/0.8551, allocations: 111.3 kB / 1.019 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=46): time 2.935e-06/0.8552, allocations: 0 / 1.019 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46): time 0.004548/0.8597, allocations: 1.598 MB / 1.021 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.8598, allocations: 55.41 kB / 1.021 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.8621, allocations: 1.863 MB / 1.023 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.327e-05/0.8622, allocations: 41.69 kB / 1.023 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007429/0.863, allocations: 0.8581 MB / 1.024 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.8631, allocations: 169.7 kB / 1.024 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.8632, allocations: 12 kB / 1.024 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8633, allocations: 342 kB / 1.024 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.8642, allocations: 341.8 kB / 1.024 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.8653, allocations: 0.7995 MB / 1.025 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.8663, allocations: 482.3 kB / 1.026 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.8663, allocations: 4 kB / 1.026 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003245/0.8696, allocations: 1.394 MB / 1.027 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001581/0.8712, allocations: 4.226 MB / 1.031 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.8712, allocations: 15.95 kB / 1.031 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008597/0.8721, allocations: 220.6 kB / 1.031 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008068/0.8729, allocations: 187.7 kB / 1.032 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008073/0.8737, allocations: 0.8372 MB / 1.032 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.8754, allocations: 136.4 kB / 1.033 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.8755, allocations: 47.98 kB / 1.033 GB, free: 13.49 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.8756, allocations: 5.094 kB / 1.033 GB, free: 13.48 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002235/0.8778, allocations: 1.086 MB / 1.034 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.8778, allocations: 8 kB / 1.034 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004274/0.8783, allocations: 160.1 kB / 1.034 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.879, allocations: 187.7 kB / 1.034 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/0.8817, allocations: 2.377 MB / 1.036 GB, free: 9.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.8833, allocations: 124.5 kB / 1.036 GB, free: 9.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.8834, allocations: 47.94 kB / 1.037 GB, free: 9.355 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001092/0.8845, allocations: 0.5896 MB / 1.037 GB, free: 8.758 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.885, allocations: 177.8 kB / 1.037 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.8878, allocations: 1.144 MB / 1.038 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.8878, allocations: 8 kB / 1.038 GB, free: 7.418 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8878, allocations: 0 / 1.038 GB, free: 7.418 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001957/0.8898, allocations: 1.07 MB / 1.039 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/0.8948, allocations: 2.39 MB / 1.042 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.8948, allocations: 0 / 1.042 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/0.8954, allocations: 103.8 kB / 1.042 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.8957, allocations: 156.7 kB / 1.042 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.8958, allocations: 15.98 kB / 1.042 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006697/0.8965, allocations: 0.8098 MB / 1.043 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8965, allocations: 0 / 1.043 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.8998, allocations: 1.579 MB / 1.044 GB, free: 1.062 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009736/0.9008, allocations: 354.7 kB / 1.045 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/0.9012, allocations: 19.94 kB / 1.045 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.9024, allocations: 107.8 kB / 1.045 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.9026, allocations: 48.36 kB / 1.045 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.9026, allocations: 23.97 kB / 1.045 GB, free: 0.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002094/0.9047, allocations: 1.29 MB / 1.046 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9047, allocations: 4 kB / 1.046 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003357/0.9081, allocations: 0.8619 MB / 1.047 GB, free: 14.32 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/0.9092, allocations: 383.4 kB / 1.047 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003547/0.9128, allocations: 1.613 MB / 1.049 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.9128, allocations: 1.375 kB / 1.049 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009536/0.9138, allocations: 398.4 kB / 1.049 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/0.9178, allocations: 0.829 MB / 1.05 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.9239, allocations: 3.508 MB / 1.054 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.9254, allocations: 1.523 MB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001969/0.9274, allocations: 434.2 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/0.9278, allocations: 143.4 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of SimCode: time 2.014e-06/0.9278, allocations: 0 / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of Templates: time 0.05699/0.9848, allocations: 32.54 MB / 1.087 GB, free: 5.305 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example3.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches