Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.014/2.014, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 196.7 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.0008512, allocations: 104.6 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.339e-05/1.341e-05, allocations: 7.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2296, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.254, allocations: 440.7 MB / 1.636 GB, free: 14.1 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.254, allocations: 94.19 kB / 1.636 GB, free: 14.05 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.251/6.506, allocations: 1.454 GB / 3.09 GB, free: 140.4 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.593e-06/6.506, allocations: 0 / 3.09 GB, free: 140.4 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004819/6.506, allocations: 104.4 kB / 3.09 GB, free: 140.4 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.009407/6.516, allocations: 3.713 MB / 3.094 GB, free: 139.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/6.516, allocations: 8.875 kB / 3.094 GB, free: 139.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008885/6.525, allocations: 1.481 MB / 3.095 GB, free: 138.9 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05582/6.581, allocations: 28.95 MB / 3.124 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/6.581, allocations: 72.19 kB / 3.124 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009118/6.582, allocations: 146.9 kB / 3.124 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004752/6.586, allocations: 1.935 MB / 3.126 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005961/6.592, allocations: 2.304 MB / 3.128 GB, free: 137.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/6.593, allocations: 8.156 kB / 3.128 GB, free: 137.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003791/6.593, allocations: 2.688 kB / 3.128 GB, free: 137.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/6.593, allocations: 53.75 kB / 3.128 GB, free: 137.1 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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.01892/6.612, allocations: 12.08 MB / 3.14 GB, free: 131.3 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/6.615, allocations: 2.049 MB / 3.142 GB, free: 131.2 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/6.616, allocations: 0.8366 MB / 3.143 GB, free: 131.2 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008061/6.624, allocations: 4.143 MB / 3.147 GB, free: 129.3 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/6.624, allocations: 50.41 kB / 3.147 GB, free: 129.3 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001856/6.626, allocations: 169.6 kB / 3.147 GB, free: 129.2 MB / 1.182 GB Notification: Performance of pre-optimization done (n=119): time 5.199e-06/6.626, allocations: 0 / 3.147 GB, free: 129.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=119): time 0.007368/6.633, allocations: 2.748 MB / 3.15 GB, free: 128.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/6.633, allocations: 64.44 kB / 3.15 GB, free: 128.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/6.637, allocations: 2.61 MB / 3.152 GB, free: 128.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000223/6.638, allocations: 29.52 kB / 3.152 GB, free: 128.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/6.639, allocations: 1.773 MB / 3.154 GB, free: 128 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/6.639, allocations: 402.2 kB / 3.154 GB, free: 127.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/6.639, allocations: 1.969 kB / 3.154 GB, free: 127.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/6.639, allocations: 377.1 kB / 3.155 GB, free: 127.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009904/6.64, allocations: 0.8448 MB / 3.156 GB, free: 127.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/6.641, allocations: 1.624 MB / 3.157 GB, free: 126.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/6.644, allocations: 1.236 MB / 3.158 GB, free: 126.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-06/6.644, allocations: 3.844 kB / 3.158 GB, free: 126.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006218/6.651, allocations: 3.297 MB / 3.162 GB, free: 126.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001172/6.652, allocations: 8.089 MB / 3.169 GB, free: 117.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/6.652, allocations: 19.34 kB / 3.17 GB, free: 117.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/6.654, allocations: 0.8476 MB / 3.17 GB, free: 117.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/6.655, allocations: 433.7 kB / 3.171 GB, free: 117.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/6.659, allocations: 5.831 MB / 3.176 GB, free: 113.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/6.662, allocations: 221 kB / 3.177 GB, free: 113.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002924/6.662, allocations: 175.1 kB / 3.177 GB, free: 113.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/6.662, allocations: 5.594 kB / 3.177 GB, free: 113.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006157/6.668, allocations: 2.768 MB / 3.18 GB, free: 113.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/6.669, allocations: 22.84 kB / 3.18 GB, free: 113.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/6.671, allocations: 0.9941 MB / 3.181 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/6.672, allocations: 402.7 kB / 3.181 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/6.686, allocations: 13.67 MB / 3.194 GB, free: 105.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/6.69, allocations: 211.5 kB / 3.194 GB, free: 105.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003624/6.69, allocations: 155.9 kB / 3.195 GB, free: 105.4 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006291/6.691, allocations: 175.4 kB / 3.195 GB, free: 105.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006194/6.691, allocations: 349.2 kB / 3.195 GB, free: 105.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006989/6.698, allocations: 2.849 MB / 3.198 GB, free: 104.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/6.698, allocations: 15.62 kB / 3.198 GB, free: 104.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/6.698, allocations: 0 / 3.198 GB, free: 104.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/6.698, allocations: 10.28 kB / 3.198 GB, free: 104.9 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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.009191/6.708, allocations: 4.796 MB / 3.203 GB, free: 104.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/6.708, allocations: 0 / 3.203 GB, free: 104.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/6.709, allocations: 257 kB / 3.203 GB, free: 104.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009367/6.71, allocations: 0.5086 MB / 3.203 GB, free: 104.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.436e-05/6.71, allocations: 32.03 kB / 3.203 GB, free: 104.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/6.712, allocations: 5.056 MB / 3.208 GB, free: 100.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/6.712, allocations: 0 / 3.208 GB, free: 100.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/6.717, allocations: 2.572 MB / 3.211 GB, free: 99.52 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/6.718, allocations: 0.6094 MB / 3.211 GB, free: 99.22 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/6.719, allocations: 1.906 kB / 3.211 GB, free: 99.22 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/6.721, allocations: 218.8 kB / 3.212 GB, free: 99.21 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/6.721, allocations: 90.2 kB / 3.212 GB, free: 99.21 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/6.721, allocations: 82.34 kB / 3.212 GB, free: 99.21 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002455/6.724, allocations: 1.947 MB / 3.214 GB, free: 99.04 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.31e-07/6.724, allocations: 0 / 3.214 GB, free: 99.04 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006632/6.73, allocations: 1.956 MB / 3.216 GB, free: 98.74 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003017/6.733, allocations: 2.304 MB / 3.218 GB, free: 98.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005409/6.739, allocations: 3.942 MB / 3.222 GB, free: 97.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/6.739, allocations: 0 / 3.222 GB, free: 97.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/6.74, allocations: 0.8323 MB / 3.223 GB, free: 97.59 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006778/6.747, allocations: 1.59 MB / 3.224 GB, free: 97.57 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006882/6.754, allocations: 4.514 MB / 3.228 GB, free: 96.31 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/6.755, allocations: 2.336 MB / 3.231 GB, free: 95.55 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.005409/6.761, allocations: 1.271 MB / 3.232 GB, free: 95.52 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/6.761, allocations: 218.1 kB / 3.232 GB, free: 95.51 MB / 1.182 GB Notification: Performance of SimCode: time 6.21e-07/6.761, allocations: 0 / 3.232 GB, free: 95.51 MB / 1.182 GB Notification: Performance of Templates: time 0.1086/6.87, allocations: 86.51 MB / 3.317 GB, free: 90.41 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches