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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001123/0.001123, 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.001671/0.001671, allocations: 179.3 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.679/2.679, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003891, allocations: 13.09 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3228, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1737/0.4966, allocations: 163.4 MB / 1.219 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005823/0.5024, allocations: 4.035 MB / 1.223 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006236/0.5031, allocations: 7.938 kB / 1.223 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008477/0.504, allocations: 210.9 kB / 1.223 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.5059, allocations: 0.6458 MB / 1.224 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.5073, allocations: 429.2 kB / 1.224 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003757/0.511, allocations: 3.799 MB / 1.228 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00292/0.514, allocations: 2.356 MB / 1.23 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.5165, allocations: 1.117 MB / 1.231 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.5181, allocations: 0.8713 MB / 1.232 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.5184, allocations: 48 kB / 1.232 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.5205, allocations: 0.9003 MB / 1.233 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005408/0.5211, allocations: 326.8 kB / 1.233 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.5223, allocations: 0.6001 MB / 1.234 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.5241, allocations: 1.165 MB / 1.235 GB, free: 480 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5241, allocations: 0 / 1.235 GB, free: 480 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5241, allocations: 0 / 1.235 GB, free: 480 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.628e-05/0.5242, allocations: 0 / 1.235 GB, free: 480 kB / 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.003223/0.5274, allocations: 1.472 MB / 1.236 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5275, allocations: 11.97 kB / 1.236 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.5285, allocations: 194.4 kB / 1.237 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.5303, allocations: 0.8851 MB / 1.237 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/0.5304, allocations: 49.31 kB / 1.238 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.5305, allocations: 64 kB / 1.238 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.5322, allocations: 0.9916 MB / 1.239 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5322, allocations: 7.938 kB / 1.239 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.5323, allocations: 20 kB / 1.239 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.5323, allocations: 20 kB / 1.239 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.5338, allocations: 0.8077 MB / 1.239 GB, free: 11.75 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.005581/0.5394, allocations: 4.808 MB / 1.244 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.5423, allocations: 4.014 MB / 1.248 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.5428, allocations: 361.2 kB / 1.248 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.5432, allocations: 190.5 kB / 1.249 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006959/0.5439, allocations: 344.9 kB / 1.249 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004183/0.5444, allocations: 31.62 kB / 1.249 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 3.186e-06/0.5444, allocations: 0 / 1.249 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.5987/1.143, allocations: 1.696 MB / 1.251 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/1.143, allocations: 85.02 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/1.146, allocations: 1.192 MB / 1.252 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.4e-05/1.146, allocations: 37.67 kB / 1.252 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005337/1.147, allocations: 0.5137 MB / 1.252 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/1.147, allocations: 121.2 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/1.147, allocations: 45.98 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/1.147, allocations: 329.3 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/1.147, allocations: 232.9 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000732/1.148, allocations: 0.5616 MB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/1.149, allocations: 0.6903 MB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.149, allocations: 2.219 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002581/1.152, allocations: 1.157 MB / 1.255 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/1.152, allocations: 277 kB / 1.256 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.152, allocations: 5.531 kB / 1.256 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/1.154, allocations: 464.1 kB / 1.256 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/1.154, allocations: 80.41 kB / 1.256 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/1.155, allocations: 1.117 MB / 1.257 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.156, allocations: 97.02 kB / 1.257 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/1.156, allocations: 29.03 kB / 1.257 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/1.156, allocations: 2.594 kB / 1.257 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/1.158, allocations: 0.808 MB / 1.258 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.158, allocations: 5.875 kB / 1.258 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/1.159, allocations: 249.4 kB / 1.258 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/1.159, allocations: 73.3 kB / 1.258 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003999/1.163, allocations: 3.117 MB / 1.262 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.164, allocations: 100.3 kB / 1.262 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/1.164, allocations: 28.42 kB / 1.262 GB, free: 189.1 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.0006941/1.165, allocations: 475.6 kB / 1.262 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/1.165, allocations: 106.6 kB / 1.262 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/1.167, allocations: 0.818 MB / 1.263 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/1.167, allocations: 9.781 kB / 1.263 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.167, allocations: 0 / 1.263 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.167, allocations: 1.875 kB / 1.263 GB, free: 188.7 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.003339/1.17, allocations: 2.169 MB / 1.265 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.17, allocations: 6.812 kB / 1.265 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/1.171, allocations: 50.44 kB / 1.265 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006114/1.171, allocations: 240.1 kB / 1.265 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/1.171, allocations: 9.172 kB / 1.265 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/1.172, allocations: 0.9424 MB / 1.266 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.172, allocations: 2.312 kB / 1.266 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/1.174, allocations: 0.8897 MB / 1.267 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/1.175, allocations: 233.2 kB / 1.267 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/1.175, allocations: 13.2 kB / 1.267 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008741/1.176, allocations: 74.62 kB / 1.268 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.176, allocations: 36.08 kB / 1.268 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/1.176, allocations: 18.48 kB / 1.268 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001724/1.178, allocations: 0.8351 MB / 1.268 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.178, allocations: 0 / 1.268 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001989/1.18, allocations: 0.5055 MB / 1.269 GB, free: 186.7 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.0005417/1.18, allocations: 176.6 kB / 1.269 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003223/1.183, allocations: 1.312 MB / 1.27 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.184, allocations: 0.5 kB / 1.27 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009237/1.184, allocations: 320.3 kB / 1.271 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/1.189, allocations: 0.6451 MB / 1.271 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/1.193, allocations: 2.361 MB / 1.274 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.195, allocations: 1.216 MB / 1.275 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/1.195, allocations: 68.89 kB / 1.275 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.343e-06/1.195, allocations: 0 / 1.275 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04123/1.236, allocations: 22.77 MB / 1.297 GB, free: 173.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sin.ports[1].m_flow Variables in the result:sin.ports[1].m_flow,time