Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009357, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006434/0.006434, allocations: 170 kB / 16.27 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 462.6 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 8.594 kB / 0.9028 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3591, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1925/0.5516, allocations: 163.4 MB / 1.218 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006685/0.5584, allocations: 4.034 MB / 1.222 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005705/0.559, allocations: 15.88 kB / 1.222 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007832/0.5598, allocations: 198.9 kB / 1.222 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.5618, allocations: 0.6381 MB / 1.223 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.5631, allocations: 437.7 kB / 1.223 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003939/0.5671, allocations: 3.791 MB / 1.227 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002989/0.5701, allocations: 2.371 MB / 1.229 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.5726, allocations: 1.117 MB / 1.23 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.5737, allocations: 0.8674 MB / 1.231 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.844e-05/0.5738, allocations: 48 kB / 1.231 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.5755, allocations: 0.8964 MB / 1.232 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.5759, allocations: 330.8 kB / 1.233 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007278/0.5766, allocations: 0.6001 MB / 1.233 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.5783, allocations: 1.584 MB / 1.235 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5783, allocations: 0 / 1.235 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5783, allocations: 0 / 1.235 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.5784, allocations: 3.938 kB / 1.235 GB, free: 0.5117 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002439/0.5808, allocations: 1.476 MB / 1.236 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.5809, allocations: 8.031 kB / 1.236 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007916/0.5817, allocations: 198.4 kB / 1.236 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.5829, allocations: 0.8851 MB / 1.237 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.583, allocations: 45.31 kB / 1.237 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5831, allocations: 64 kB / 1.237 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.5846, allocations: 0.9987 MB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5846, allocations: 0 / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.5847, allocations: 24 kB / 1.238 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.5847, allocations: 16 kB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.586, allocations: 0.8038 MB / 1.239 GB, free: 11.8 MB / 0.9981 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.004522/0.5905, allocations: 4.812 MB / 1.244 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.593, allocations: 4.017 MB / 1.248 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.5935, allocations: 354.8 kB / 1.248 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.5938, allocations: 190.5 kB / 1.248 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005706/0.5944, allocations: 341.4 kB / 1.249 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002741/0.5947, allocations: 27.69 kB / 1.249 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.274e-06/0.5947, allocations: 0 / 1.249 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.6218/1.217, allocations: 1.696 MB / 1.25 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/1.217, allocations: 87.31 kB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/1.219, allocations: 1.188 MB / 1.252 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.87e-05/1.219, allocations: 38.36 kB / 1.252 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000423/1.219, allocations: 0.5132 MB / 1.252 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.373e-05/1.219, allocations: 125.9 kB / 1.252 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/1.219, allocations: 46.48 kB / 1.252 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/1.22, allocations: 326.4 kB / 1.253 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/1.22, allocations: 235.7 kB / 1.253 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/1.221, allocations: 0.5693 MB / 1.253 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009993/1.222, allocations: 0.6917 MB / 1.254 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.222, allocations: 0 / 1.254 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002447/1.224, allocations: 1.151 MB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/1.224, allocations: 275.2 kB / 1.255 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.224, allocations: 8.531 kB / 1.255 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/1.226, allocations: 470 kB / 1.256 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/1.226, allocations: 78.98 kB / 1.256 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/1.228, allocations: 1.123 MB / 1.257 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.229, allocations: 93.95 kB / 1.257 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/1.229, allocations: 24.27 kB / 1.257 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/1.229, allocations: 6.078 kB / 1.257 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001531/1.23, allocations: 0.8058 MB / 1.258 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.23, allocations: 6.328 kB / 1.258 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/1.231, allocations: 243 kB / 1.258 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/1.231, allocations: 76.58 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/1.235, allocations: 3.114 MB / 1.261 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.236, allocations: 98.58 kB / 1.261 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/1.236, allocations: 26.03 kB / 1.261 GB, free: 189.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008323/1.237, allocations: 484.6 kB / 1.262 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/1.237, allocations: 105.2 kB / 1.262 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/1.239, allocations: 0.8236 MB / 1.263 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.239, allocations: 5.812 kB / 1.263 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.239, allocations: 0 / 1.263 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.239, allocations: 2.203 kB / 1.263 GB, free: 189.3 MB / 0.9981 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.003384/1.242, allocations: 2.17 MB / 1.265 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.243, allocations: 9.781 kB / 1.265 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/1.243, allocations: 54.52 kB / 1.265 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006395/1.243, allocations: 239.2 kB / 1.265 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/1.244, allocations: 11.98 kB / 1.265 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009793/1.245, allocations: 0.9371 MB / 1.266 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.245, allocations: 2.469 kB / 1.266 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/1.246, allocations: 0.8868 MB / 1.267 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005611/1.247, allocations: 236 kB / 1.267 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.247, allocations: 9.094 kB / 1.267 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/1.248, allocations: 74.47 kB / 1.267 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.248, allocations: 32.06 kB / 1.267 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/1.248, allocations: 19.84 kB / 1.267 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001424/1.249, allocations: 0.8371 MB / 1.268 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.603e-06/1.249, allocations: 4 kB / 1.268 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001611/1.251, allocations: 0.5025 MB / 1.269 GB, free: 187.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004438/1.251, allocations: 178.3 kB / 1.269 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002932/1.254, allocations: 1.31 MB / 1.27 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.254, allocations: 9 kB / 1.27 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008261/1.255, allocations: 320.4 kB / 1.27 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/1.259, allocations: 0.6508 MB / 1.271 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/1.263, allocations: 2.306 MB / 1.273 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008292/1.264, allocations: 1.217 MB / 1.274 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001383/1.265, allocations: 380 kB / 1.275 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/1.265, allocations: 68.25 kB / 1.275 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.265, allocations: 0 / 1.275 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03791/1.303, allocations: 21.33 MB / 1.296 GB, free: 174.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches