Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 106.7 kB / 15.99 MB, free: 6.352 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.001499/0.001499, allocations: 192.5 kB / 16.91 MB, free: 6.184 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.97 kB / 0.8127 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3187, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7633/1.082, allocations: 159.4 MB / 1.105 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003631/1.086, allocations: 1.747 MB / 1.107 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005405/1.086, allocations: 11.91 kB / 1.107 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006874/1.087, allocations: 145.5 kB / 1.107 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/1.089, allocations: 0.4903 MB / 1.108 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/1.09, allocations: 351 kB / 1.108 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003436/1.094, allocations: 2.557 MB / 1.111 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/1.095, allocations: 0.8945 MB / 1.111 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/1.098, allocations: 1.064 MB / 1.113 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/1.099, allocations: 0.7493 MB / 1.113 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/1.1, allocations: 55.31 kB / 1.113 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/1.102, allocations: 0.7591 MB / 1.114 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005351/1.102, allocations: 308.3 kB / 1.114 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/1.103, allocations: 0.5397 MB / 1.115 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/1.105, allocations: 1.045 MB / 1.116 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.105, allocations: 4 kB / 1.116 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.314e-06/1.105, allocations: 1.594 kB / 1.116 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.599e-05/1.105, allocations: 0 / 1.116 GB, free: 5.75 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002962/1.108, allocations: 1.44 MB / 1.117 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.108, allocations: 13.78 kB / 1.117 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008218/1.109, allocations: 185.7 kB / 1.117 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.111, allocations: 0.8004 MB / 1.118 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/1.111, allocations: 44.53 kB / 1.118 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/1.111, allocations: 60.03 kB / 1.118 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/1.112, allocations: 0.7917 MB / 1.119 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/1.112, allocations: 1.125 kB / 1.119 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/1.112, allocations: 20.83 kB / 1.119 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/1.112, allocations: 16.41 kB / 1.119 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/1.113, allocations: 0.537 MB / 1.12 GB, free: 20.25 MB / 0.8731 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.005031/1.118, allocations: 4.588 MB / 1.124 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/1.119, allocations: 419.6 kB / 1.125 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/1.12, allocations: 248 kB / 1.125 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/1.12, allocations: 198.3 kB / 1.125 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/1.121, allocations: 285.4 kB / 1.125 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 3.045e-06/1.121, allocations: 5.359 kB / 1.125 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.00158/1.122, allocations: 0.6396 MB / 1.126 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/1.122, allocations: 80.95 kB / 1.126 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/1.124, allocations: 1.115 MB / 1.127 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/1.124, allocations: 37.2 kB / 1.127 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/1.124, allocations: 492.9 kB / 1.128 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/1.124, allocations: 108.1 kB / 1.128 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/1.125, allocations: 118.3 kB / 1.128 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.125, allocations: 327.3 kB / 1.128 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/1.125, allocations: 215.6 kB / 1.128 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/1.126, allocations: 0.5232 MB / 1.129 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/1.127, allocations: 0.6394 MB / 1.129 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.127, allocations: 1.5 kB / 1.129 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001257/1.128, allocations: 0.7073 MB / 1.13 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/1.128, allocations: 44.69 kB / 1.13 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.128, allocations: 8.25 kB / 1.13 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/1.128, allocations: 9 kB / 1.13 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/1.128, allocations: 108.7 kB / 1.13 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/1.128, allocations: 10.28 kB / 1.13 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/1.129, allocations: 95.08 kB / 1.13 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/1.129, allocations: 26 kB / 1.13 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000867/1.13, allocations: 0.4993 MB / 1.131 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005268/1.131, allocations: 494.3 kB / 1.131 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007133/1.132, allocations: 0.555 MB / 1.132 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.958e-06/1.132, allocations: 2.297 kB / 1.132 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001127/1.133, allocations: 0.6405 MB / 1.133 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/1.133, allocations: 36.66 kB / 1.133 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.133, allocations: 5.469 kB / 1.133 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.133, allocations: 8.281 kB / 1.133 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/1.133, allocations: 102.2 kB / 1.133 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/1.133, allocations: 15.03 kB / 1.133 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009718/1.134, allocations: 88.83 kB / 1.133 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/1.134, allocations: 31.05 kB / 1.133 GB, free: 13.89 MB / 0.8731 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000279/1.135, allocations: 227.2 kB / 1.133 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/1.135, allocations: 97.47 kB / 1.133 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/1.136, allocations: 500 kB / 1.134 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/1.136, allocations: 3.25 kB / 1.134 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.136, allocations: 5.281 kB / 1.134 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/1.136, allocations: 2.953 kB / 1.134 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/1.138, allocations: 1.383 MB / 1.135 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.138, allocations: 2.312 kB / 1.135 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/1.139, allocations: 69 kB / 1.135 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.139, allocations: 3.906 kB / 1.135 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/1.139, allocations: 15.25 kB / 1.135 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.139, allocations: 3.531 kB / 1.135 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.139, allocations: 2.469 kB / 1.135 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/1.14, allocations: 0.6056 MB / 1.136 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/1.14, allocations: 218 kB / 1.136 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/1.14, allocations: 8.875 kB / 1.136 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/1.141, allocations: 42.08 kB / 1.136 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/1.141, allocations: 29.52 kB / 1.136 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/1.141, allocations: 9.25 kB / 1.136 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001109/1.142, allocations: 0.7895 MB / 1.137 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/1.142, allocations: 1.094 kB / 1.137 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0014/1.144, allocations: 410 kB / 1.137 GB, free: 12.58 MB / 0.8731 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004752/1.144, allocations: 172.9 kB / 1.137 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001601/1.146, allocations: 0.8676 MB / 1.138 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.146, allocations: 0 / 1.138 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/1.146, allocations: 196.3 kB / 1.138 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.148, allocations: 459.9 kB / 1.139 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/1.152, allocations: 2.093 MB / 1.141 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000983/1.153, allocations: 1.176 MB / 1.142 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/1.153, allocations: 75.61 kB / 1.142 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.435e-06/1.153, allocations: 1.156 kB / 1.142 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.03223/1.185, allocations: 15.84 MB / 1.157 GB, free: 6.738 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches