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.275/2.275, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001503/0.001503, allocations: 183 kB / 492.3 MB, free: 0.6172 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.662/1.662, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009192/0.0009194, allocations: 93.52 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.59e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3553, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.405/5.761, allocations: 1.946 GB / 3.158 GB, free: 325.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/5.761, allocations: 87.62 kB / 3.158 GB, free: 325.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.683/12.44, allocations: 1.674 GB / 4.832 GB, free: 173 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.076e-06/12.44, allocations: 1.469 kB / 4.832 GB, free: 173 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0005414/12.44, allocations: 60.75 kB / 4.832 GB, free: 173 MB / 1.198 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.01361/12.46, allocations: 2.526 MB / 4.835 GB, free: 172.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 7.103e-05/12.46, allocations: 10.78 kB / 4.835 GB, free: 172.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008457/12.47, allocations: 0.9925 MB / 4.836 GB, free: 172.3 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008785/12.48, allocations: 2.755 MB / 4.838 GB, free: 171.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/12.48, allocations: 117.9 kB / 4.839 GB, free: 171.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/12.48, allocations: 146.8 kB / 4.839 GB, free: 171.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/12.48, allocations: 1.559 MB / 4.84 GB, free: 171.6 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/12.48, allocations: 0 / 4.84 GB, free: 171.6 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/12.48, allocations: 54.38 kB / 4.84 GB, free: 171.6 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.382e-05/12.48, allocations: 48.7 kB / 4.84 GB, free: 171.6 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/12.48, allocations: 1.186 MB / 4.841 GB, free: 171.6 MB / 1.198 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.01131/12.49, allocations: 7.568 MB / 4.849 GB, free: 167.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/12.49, allocations: 0.9851 MB / 4.85 GB, free: 167.7 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/12.49, allocations: 436.6 kB / 4.85 GB, free: 167.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002078/12.49, allocations: 117.4 kB / 4.85 GB, free: 167.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/12.49, allocations: 42.25 kB / 4.85 GB, free: 167.6 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001406/12.5, allocations: 150.1 kB / 4.851 GB, free: 167.5 MB / 1.198 GB Notification: Performance of pre-optimization done (n=81): time 4.098e-06/12.5, allocations: 0 / 4.851 GB, free: 167.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=81): time 0.00297/12.5, allocations: 1.06 MB / 4.852 GB, free: 167.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/12.5, allocations: 60.69 kB / 4.852 GB, free: 167.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/12.5, allocations: 1.511 MB / 4.853 GB, free: 167.1 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/12.5, allocations: 53.27 kB / 4.853 GB, free: 167.1 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/12.5, allocations: 0.9762 MB / 4.854 GB, free: 166.8 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/12.5, allocations: 284.5 kB / 4.854 GB, free: 166.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/12.5, allocations: 19.28 kB / 4.854 GB, free: 166.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001866/12.5, allocations: 351.4 kB / 4.855 GB, free: 166.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/12.51, allocations: 343 kB / 4.855 GB, free: 166.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/12.51, allocations: 0.7597 MB / 4.856 GB, free: 165.9 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009209/12.51, allocations: 458.9 kB / 4.856 GB, free: 165.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/12.51, allocations: 3.469 kB / 4.856 GB, free: 165.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003773/12.51, allocations: 1.376 MB / 4.858 GB, free: 165.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001166/12.51, allocations: 3.967 MB / 4.861 GB, free: 161.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/12.51, allocations: 9.578 kB / 4.861 GB, free: 161.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/12.51, allocations: 151.8 kB / 4.862 GB, free: 161.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/12.51, allocations: 283.8 kB / 4.862 GB, free: 161.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/12.52, allocations: 3.527 MB / 4.865 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/12.52, allocations: 166.6 kB / 4.865 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/12.52, allocations: 60.56 kB / 4.866 GB, free: 158.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/12.52, allocations: 4.125 kB / 4.866 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003001/12.52, allocations: 1.21 MB / 4.867 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.74e-05/12.52, allocations: 10.55 kB / 4.867 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/12.52, allocations: 144.4 kB / 4.867 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/12.53, allocations: 249.5 kB / 4.867 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/12.53, allocations: 3.245 MB / 4.87 GB, free: 155.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/12.53, allocations: 164.2 kB / 4.87 GB, free: 155.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/12.53, allocations: 53.44 kB / 4.87 GB, free: 155.7 MB / 1.198 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 () * 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.000479/12.53, allocations: 171.2 kB / 4.871 GB, free: 155.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007351/12.53, allocations: 199.3 kB / 4.871 GB, free: 155.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/12.54, allocations: 1.203 MB / 4.872 GB, free: 155.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/12.54, allocations: 15.09 kB / 4.872 GB, free: 155.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/12.54, allocations: 0.9375 kB / 4.872 GB, free: 155.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002267/12.54, allocations: 1.015 MB / 4.873 GB, free: 155 MB / 1.198 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.008376/12.55, allocations: 2.977 MB / 4.876 GB, free: 154.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/12.55, allocations: 3.688 kB / 4.876 GB, free: 154.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/12.55, allocations: 223.5 kB / 4.876 GB, free: 154.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/12.55, allocations: 110.1 kB / 4.876 GB, free: 154.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/12.55, allocations: 25.66 kB / 4.876 GB, free: 154.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/12.55, allocations: 4.789 MB / 4.881 GB, free: 150 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/12.55, allocations: 7.438 kB / 4.881 GB, free: 150 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/12.56, allocations: 1.794 MB / 4.883 GB, free: 149.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/12.56, allocations: 359.7 kB / 4.883 GB, free: 149.2 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007467/12.56, allocations: 25.22 kB / 4.883 GB, free: 149.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/12.56, allocations: 132.5 kB / 4.883 GB, free: 149.2 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/12.56, allocations: 63.81 kB / 4.883 GB, free: 149.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/12.56, allocations: 35.64 kB / 4.883 GB, free: 149.2 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002923/12.56, allocations: 1.171 MB / 4.884 GB, free: 149 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.11e-07/12.56, allocations: 0 / 4.884 GB, free: 149 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00708/12.57, allocations: 1.428 MB / 4.886 GB, free: 149 MB / 1.198 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 () * 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.007484/12.58, allocations: 4.191 MB / 4.89 GB, free: 147.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004501/12.58, allocations: 1.909 MB / 4.892 GB, free: 146.8 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/12.58, allocations: 2.734 kB / 4.892 GB, free: 146.8 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/12.58, allocations: 0.6649 MB / 4.892 GB, free: 146.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005714/12.59, allocations: 1.006 MB / 4.893 GB, free: 146.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/12.6, allocations: 2.769 MB / 4.896 GB, free: 145.8 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/12.6, allocations: 1.63 MB / 4.898 GB, free: 145.1 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004071/12.6, allocations: 0.7427 MB / 4.898 GB, free: 145.1 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/12.6, allocations: 123.8 kB / 4.899 GB, free: 145.1 MB / 1.198 GB Notification: Performance of SimCode: time 1.062e-06/12.6, allocations: 0 / 4.899 GB, free: 145.1 MB / 1.198 GB Notification: Performance of Templates: time 0.1361/12.74, allocations: 89.33 MB / 4.986 GB, free: 141.9 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