Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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.SpeedControlled_y,tolerance=1e-08,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.SpeedControlled_y") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,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.SpeedControlled_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 387.1 MB / 399.7 MB, free: 9.418 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.001162/0.001162, allocations: 176.2 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.514/1.514, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009929/0.0009927, allocations: 90.02 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.057e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2993, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.908/6.207, allocations: 1.945 GB / 3.158 GB, free: 337.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/6.208, allocations: 88.27 kB / 3.158 GB, free: 337.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.054/12.26, allocations: 1.554 GB / 4.712 GB, free: 74.07 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.625e-06/12.26, allocations: 0 / 4.712 GB, free: 74.07 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005201/12.26, allocations: 63.92 kB / 4.712 GB, free: 74 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01005/12.27, allocations: 2.585 MB / 4.715 GB, free: 71.37 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/12.27, allocations: 8.031 kB / 4.715 GB, free: 71.36 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007797/12.28, allocations: 0.9958 MB / 4.716 GB, free: 70.36 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/12.29, allocations: 3.097 MB / 4.719 GB, free: 67.19 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/12.29, allocations: 118.4 kB / 4.719 GB, free: 67.07 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008081/12.29, allocations: 152 kB / 4.719 GB, free: 66.93 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005019/12.3, allocations: 1.631 MB / 4.721 GB, free: 65.23 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/12.3, allocations: 3.938 kB / 4.721 GB, free: 65.23 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/12.3, allocations: 67.98 kB / 4.721 GB, free: 65.16 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/12.3, allocations: 50.66 kB / 4.721 GB, free: 65.11 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/12.3, allocations: 1.24 MB / 4.722 GB, free: 63.86 MB / 1.167 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.01478/12.32, allocations: 7.768 MB / 4.729 GB, free: 55.53 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/12.32, allocations: 1.144 MB / 4.731 GB, free: 54.33 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/12.32, allocations: 464.8 kB / 4.731 GB, free: 53.88 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/12.32, allocations: 113.9 kB / 4.731 GB, free: 53.75 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/12.32, allocations: 43.34 kB / 4.731 GB, free: 53.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001872/12.32, allocations: 155 kB / 4.731 GB, free: 53.54 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 1.008e-05/12.32, allocations: 4 kB / 4.731 GB, free: 53.54 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.003741/12.33, allocations: 1.16 MB / 4.732 GB, free: 52.36 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/12.33, allocations: 60.19 kB / 4.732 GB, free: 52.29 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004707/12.33, allocations: 1.573 MB / 4.734 GB, free: 50.68 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000264/12.33, allocations: 53.64 kB / 4.734 GB, free: 50.62 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/12.33, allocations: 1.008 MB / 4.735 GB, free: 49.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/12.33, allocations: 299.6 kB / 4.735 GB, free: 49.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/12.33, allocations: 20 kB / 4.735 GB, free: 49.29 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001485/12.33, allocations: 353.9 kB / 4.736 GB, free: 48.93 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/12.33, allocations: 374.5 kB / 4.736 GB, free: 48.57 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/12.33, allocations: 0.8124 MB / 4.737 GB, free: 47.56 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009313/12.33, allocations: 484.1 kB / 4.737 GB, free: 47.09 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/12.33, allocations: 4 kB / 4.737 GB, free: 47.09 MB / 1.167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003897/12.34, allocations: 1.519 MB / 4.739 GB, free: 45.55 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001417/12.34, allocations: 3.986 MB / 4.743 GB, free: 41.15 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.983e-05/12.34, allocations: 12 kB / 4.743 GB, free: 41.14 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/12.34, allocations: 262.3 kB / 4.743 GB, free: 40.88 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/12.34, allocations: 267.5 kB / 4.743 GB, free: 40.61 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/12.35, allocations: 3.635 MB / 4.747 GB, free: 36.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/12.35, allocations: 167.7 kB / 4.747 GB, free: 36.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/12.35, allocations: 79.97 kB / 4.747 GB, free: 36.53 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/12.35, allocations: 5.562 kB / 4.747 GB, free: 36.53 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003411/12.35, allocations: 1.379 MB / 4.748 GB, free: 35.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.483e-05/12.35, allocations: 12.28 kB / 4.748 GB, free: 35.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/12.35, allocations: 338.4 kB / 4.749 GB, free: 34.79 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/12.36, allocations: 239.6 kB / 4.749 GB, free: 34.55 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006113/12.36, allocations: 5.185 MB / 4.754 GB, free: 28.98 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/12.36, allocations: 163.8 kB / 4.754 GB, free: 28.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/12.36, allocations: 63.98 kB / 4.754 GB, free: 28.76 MB / 1.167 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 (116): * 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): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 9,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005119/12.36, allocations: 172.5 kB / 4.754 GB, free: 28.59 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007112/12.37, allocations: 205.4 kB / 4.755 GB, free: 28.38 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/12.37, allocations: 1.39 MB / 4.756 GB, free: 26.96 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/12.37, allocations: 11.98 kB / 4.756 GB, free: 26.95 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/12.37, allocations: 0 / 4.756 GB, free: 26.95 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00227/12.37, allocations: 1.165 MB / 4.757 GB, free: 25.75 MB / 1.167 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.007983/12.38, allocations: 3.214 MB / 4.76 GB, free: 22.42 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/12.38, allocations: 0 / 4.76 GB, free: 22.42 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009499/12.38, allocations: 195.9 kB / 4.76 GB, free: 22.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007746/12.38, allocations: 274.2 kB / 4.761 GB, free: 21.95 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/12.38, allocations: 27.97 kB / 4.761 GB, free: 21.92 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/12.38, allocations: 3.467 MB / 4.764 GB, free: 18.25 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/12.38, allocations: 4.031 kB / 4.764 GB, free: 18.25 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/12.39, allocations: 1.997 MB / 4.766 GB, free: 16.17 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/12.39, allocations: 374.3 kB / 4.766 GB, free: 15.78 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006631/12.39, allocations: 20 kB / 4.766 GB, free: 15.76 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/12.39, allocations: 135.7 kB / 4.766 GB, free: 15.63 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/12.39, allocations: 64.66 kB / 4.767 GB, free: 15.56 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/12.39, allocations: 47.91 kB / 4.767 GB, free: 15.52 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002783/12.39, allocations: 1.224 MB / 4.768 GB, free: 14.27 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/12.39, allocations: 3.938 kB / 4.768 GB, free: 14.27 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007005/12.4, allocations: 1.54 MB / 4.769 GB, free: 12.72 MB / 1.167 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 (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007747/12.41, allocations: 4.48 MB / 4.774 GB, free: 7.844 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004881/12.41, allocations: 2.133 MB / 4.776 GB, free: 5.676 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/12.41, allocations: 0.6875 kB / 4.776 GB, free: 5.676 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/12.42, allocations: 0.616 MB / 4.776 GB, free: 5.047 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005948/12.42, allocations: 1.043 MB / 4.777 GB, free: 4.012 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/12.43, allocations: 2.905 MB / 4.78 GB, free: 1.051 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/12.43, allocations: 1.668 MB / 4.782 GB, free: 15.35 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004657/12.44, allocations: 0.7822 MB / 4.783 GB, free: 14.57 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/12.44, allocations: 123.4 kB / 4.783 GB, free: 14.45 MB / 1.182 GB Notification: Performance of SimCode: time 2.615e-06/12.44, allocations: 0 / 4.783 GB, free: 14.45 MB / 1.182 GB Notification: Performance of Templates: time 1.078/13.52, allocations: 95.88 MB / 4.876 GB, free: 182.2 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches