Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001121/0.001121, allocations: 179.3 kB / 498.1 MB, free: 5.742 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.633/1.633, allocations: 223.2 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 100.2 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 10.34 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3632, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.953/5.316, allocations: 1.946 GB / 3.169 GB, free: 40.55 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/5.317, allocations: 96.14 kB / 3.169 GB, free: 40.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.777/12.09, allocations: 1.675 GB / 4.844 GB, free: 140.9 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.184e-06/12.09, allocations: 224 / 4.844 GB, free: 140.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003082/12.09, allocations: 63.92 kB / 4.844 GB, free: 140.8 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.01101/12.1, allocations: 3.2 MB / 4.847 GB, free: 137.6 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/12.1, allocations: 8.031 kB / 4.847 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007499/12.11, allocations: 0.9975 MB / 4.848 GB, free: 136.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008191/12.12, allocations: 2.765 MB / 4.851 GB, free: 133.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/12.12, allocations: 114.7 kB / 4.851 GB, free: 133.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/12.12, allocations: 151.2 kB / 4.851 GB, free: 133.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/12.12, allocations: 1.653 MB / 4.853 GB, free: 131.8 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/12.12, allocations: 7.531 kB / 4.853 GB, free: 131.8 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/12.12, allocations: 59.95 kB / 4.853 GB, free: 131.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.035e-05/12.12, allocations: 50.62 kB / 4.853 GB, free: 131.7 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/12.13, allocations: 1.363 MB / 4.854 GB, free: 130.3 MB / 1.182 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.01046/12.14, allocations: 7.584 MB / 4.862 GB, free: 122.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/12.14, allocations: 1.12 MB / 4.863 GB, free: 121 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/12.14, allocations: 109.7 kB / 4.863 GB, free: 120.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/12.14, allocations: 39.22 kB / 4.863 GB, free: 120.9 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00126/12.14, allocations: 155 kB / 4.863 GB, free: 120.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=81): time 6.352e-06/12.14, allocations: 3.703 kB / 4.863 GB, free: 120.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=81): time 0.005431/12.15, allocations: 1.906 MB / 4.865 GB, free: 118.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/12.15, allocations: 60.06 kB / 4.865 GB, free: 118.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/12.15, allocations: 1.53 MB / 4.867 GB, free: 117.1 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/12.15, allocations: 45.7 kB / 4.867 GB, free: 117.1 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006586/12.15, allocations: 0.9804 MB / 4.868 GB, free: 116.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/12.15, allocations: 279.9 kB / 4.868 GB, free: 115.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/12.15, allocations: 24 kB / 4.868 GB, free: 115.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/12.15, allocations: 345.9 kB / 4.868 GB, free: 115.4 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009182/12.15, allocations: 430.3 kB / 4.869 GB, free: 115 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/12.15, allocations: 0.8567 MB / 4.87 GB, free: 114 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/12.15, allocations: 0.5243 MB / 4.87 GB, free: 113.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/12.15, allocations: 0 / 4.87 GB, free: 113.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003519/12.16, allocations: 1.563 MB / 4.872 GB, free: 111.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008743/12.16, allocations: 3.966 MB / 4.875 GB, free: 107.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/12.16, allocations: 8 kB / 4.875 GB, free: 107.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/12.16, allocations: 149.5 kB / 4.876 GB, free: 107.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/12.16, allocations: 287.5 kB / 4.876 GB, free: 107 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/12.16, allocations: 3.592 MB / 4.879 GB, free: 103.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/12.17, allocations: 159.7 kB / 4.88 GB, free: 103.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/12.17, allocations: 59.97 kB / 4.88 GB, free: 103 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/12.17, allocations: 4 kB / 4.88 GB, free: 103 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002927/12.17, allocations: 1.374 MB / 4.881 GB, free: 101.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/12.17, allocations: 12 kB / 4.881 GB, free: 101.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/12.17, allocations: 157.5 kB / 4.881 GB, free: 101.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000894/12.17, allocations: 239.7 kB / 4.881 GB, free: 101.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/12.17, allocations: 3.326 MB / 4.885 GB, free: 97.64 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/12.17, allocations: 151.7 kB / 4.885 GB, free: 97.49 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/12.18, allocations: 55.73 kB / 4.885 GB, free: 97.44 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001488/12.18, allocations: 0.5829 MB / 4.885 GB, free: 96.84 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004733/12.18, allocations: 197.5 kB / 4.886 GB, free: 96.65 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/12.18, allocations: 1.379 MB / 4.887 GB, free: 95.23 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/12.18, allocations: 8 kB / 4.887 GB, free: 95.23 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/12.18, allocations: 3.953 kB / 4.887 GB, free: 95.22 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002442/12.18, allocations: 1.186 MB / 4.888 GB, free: 93.98 MB / 1.182 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.006738/12.19, allocations: 3.131 MB / 4.891 GB, free: 90.72 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/12.19, allocations: 0 / 4.891 GB, free: 90.72 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/12.19, allocations: 236.1 kB / 4.891 GB, free: 90.49 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003756/12.19, allocations: 121.5 kB / 4.891 GB, free: 90.37 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/12.19, allocations: 23.98 kB / 4.891 GB, free: 90.35 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/12.19, allocations: 4.849 MB / 4.896 GB, free: 85.16 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/12.19, allocations: 4 kB / 4.896 GB, free: 85.16 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004289/12.2, allocations: 2.058 MB / 4.898 GB, free: 83 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/12.2, allocations: 362.5 kB / 4.899 GB, free: 82.63 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/12.2, allocations: 20 kB / 4.899 GB, free: 82.61 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/12.2, allocations: 139.7 kB / 4.899 GB, free: 82.47 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/12.2, allocations: 60.53 kB / 4.899 GB, free: 82.41 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/12.2, allocations: 35.97 kB / 4.899 GB, free: 82.38 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001869/12.2, allocations: 1.189 MB / 4.9 GB, free: 81.17 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.31e-07/12.2, allocations: 4 kB / 4.9 GB, free: 81.17 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005549/12.21, allocations: 1.416 MB / 4.901 GB, free: 79.75 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (77): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006541/12.22, allocations: 4.193 MB / 4.905 GB, free: 75.29 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004778/12.22, allocations: 2.093 MB / 4.908 GB, free: 73.16 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/12.22, allocations: 4 kB / 4.908 GB, free: 73.16 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/12.22, allocations: 0.7473 MB / 4.908 GB, free: 72.39 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/12.23, allocations: 1.017 MB / 4.909 GB, free: 71.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006977/12.23, allocations: 4.311 MB / 4.913 GB, free: 67.05 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/12.24, allocations: 1.621 MB / 4.915 GB, free: 65.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002837/12.24, allocations: 499.6 kB / 4.916 GB, free: 64.94 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/12.24, allocations: 151.1 kB / 4.916 GB, free: 64.79 MB / 1.182 GB Notification: Performance of SimCode: time 2.505e-06/12.24, allocations: 0 / 4.916 GB, free: 64.79 MB / 1.182 GB Notification: Performance of Templates: time 0.1089/12.35, allocations: 76.78 MB / 4.991 GB, free: 4.668 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_dp.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches