Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.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.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos") translateModel(Buildings.Fluid.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.000898, allocations: 100.1 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.0009505/0.0009506, 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.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.26/2.26, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004042, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.7669, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.08496/0.8519, allocations: 85.28 MB / 1.037 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02599/0.878, allocations: 16.08 MB / 1.052 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003814/0.8818, allocations: 75.5 kB / 1.053 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004421/0.8863, allocations: 1.042 MB / 1.054 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.8972, allocations: 2.8 MB / 1.056 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006791/0.904, allocations: 2.032 MB / 1.058 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008029/0.912, allocations: 3.463 MB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.9148, allocations: 1.462 MB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004666/0.9195, allocations: 1.701 MB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.9222, allocations: 1.136 MB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003879/0.9226, allocations: 100 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004152/0.9268, allocations: 1.377 MB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008492/0.9277, allocations: 0.7593 MB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009974/0.9287, allocations: 0.5977 MB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.9336, allocations: 3.585 MB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.9337, allocations: 4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9337, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.309e-05/0.9338, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.006509/0.9403, allocations: 3.257 MB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.9403, allocations: 12.03 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.9444, allocations: 0.7729 MB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008704/0.9531, allocations: 4.928 MB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/0.9536, allocations: 170.8 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.9539, allocations: 132 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/0.9575, allocations: 1.744 MB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.9575, allocations: 7.938 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.9577, allocations: 47.91 kB / 1.083 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.9577, allocations: 35.94 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003649/0.9614, allocations: 1.363 MB / 1.084 GB, free: 9.727 MB / 0.8419 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.01325/0.9746, allocations: 8.335 MB / 1.092 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/0.9782, allocations: 1.173 MB / 1.094 GB, free: 15.63 MB / 0.8575 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 evalFunc (simulation): time 0.005122/0.9833, allocations: 2.756 MB / 1.096 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.9834, allocations: 39.12 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009106/0.9843, allocations: 122.9 kB / 1.096 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=57): time 2.706e-06/0.9843, allocations: 0 / 1.096 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=57): time 0.007124/0.9914, allocations: 2.269 MB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.9915, allocations: 59.91 kB / 1.099 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005458/0.997, allocations: 3.956 MB / 1.103 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.9973, allocations: 45.7 kB / 1.103 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.9983, allocations: 1.229 MB / 1.104 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.9986, allocations: 201 kB / 1.104 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.9987, allocations: 20 kB / 1.104 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.9989, allocations: 349.9 kB / 1.104 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/1.001, allocations: 0.6737 MB / 1.105 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/1.003, allocations: 1.199 MB / 1.106 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/1.004, allocations: 0.7759 MB / 1.107 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.004, allocations: 4 kB / 1.107 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004798/1.009, allocations: 2.151 MB / 1.109 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.002646/1.012, allocations: 6.187 MB / 1.115 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/1.012, allocations: 16 kB / 1.115 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/1.013, allocations: 309.5 kB / 1.115 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.015, allocations: 307.5 kB / 1.116 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/1.016, allocations: 1.6 MB / 1.117 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.018, allocations: 183.9 kB / 1.117 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/1.018, allocations: 119.9 kB / 1.118 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.019, allocations: 5.719 kB / 1.118 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004812/1.023, allocations: 2.355 MB / 1.12 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/1.023, allocations: 20.39 kB / 1.12 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/1.025, allocations: 0.6965 MB / 1.121 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.026, allocations: 271.6 kB / 1.121 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.039, allocations: 9.241 MB / 1.13 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/1.041, allocations: 171.9 kB / 1.13 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/1.041, allocations: 95.97 kB / 1.13 GB, free: 8.809 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00139/1.043, allocations: 0.7323 MB / 1.131 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/1.043, allocations: 244.7 kB / 1.131 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/1.048, allocations: 1.882 MB / 1.133 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.048, allocations: 11.98 kB / 1.133 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/1.048, allocations: 4 kB / 1.133 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00357/1.051, allocations: 1.654 MB / 1.135 GB, free: 4.188 MB / 0.8887 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.008073/1.06, allocations: 3.686 MB / 1.138 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.06, allocations: 0 / 1.138 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009328/1.06, allocations: 183.8 kB / 1.138 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007115/1.061, allocations: 289.4 kB / 1.139 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/1.061, allocations: 31.91 kB / 1.139 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/1.063, allocations: 1.487 MB / 1.14 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.063, allocations: 4.031 kB / 1.14 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/1.069, allocations: 2.507 MB / 1.143 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/1.071, allocations: 485.5 kB / 1.143 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00062/1.072, allocations: 12 kB / 1.143 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.073, allocations: 171.8 kB / 1.143 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.073, allocations: 48.48 kB / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.074, allocations: 43.97 kB / 1.143 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004442/1.078, allocations: 2.848 MB / 1.146 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.31e-07/1.078, allocations: 0 / 1.146 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004643/1.083, allocations: 1.275 MB / 1.147 GB, free: 6.902 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/1.084, allocations: 0.5842 MB / 1.148 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006351/1.09, allocations: 2.885 MB / 1.151 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.09, allocations: 0 / 1.151 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/1.092, allocations: 0.6247 MB / 1.151 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/1.098, allocations: 1.278 MB / 1.153 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008288/1.106, allocations: 5.095 MB / 1.157 GB, free: 12.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/1.107, allocations: 1.839 MB / 1.159 GB, free: 10.51 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002845/1.11, allocations: 0.6073 MB / 1.16 GB, free: 9.895 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/1.111, allocations: 203.3 kB / 1.16 GB, free: 9.695 MB / 0.92 GB Notification: Performance of SimCode: time 4.91e-07/1.111, allocations: 4 kB / 1.16 GB, free: 9.691 MB / 0.92 GB Notification: Performance of Templates: time 0.08881/1.2, allocations: 59.55 MB / 1.218 GB, free: 14.91 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches