Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.3 MB / 261.9 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 86.5 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.805e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2382, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.418/6.657, allocations: 2.231 GB / 3.123 GB, free: 97.09 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/6.657, allocations: 88.94 kB / 3.123 GB, free: 97.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.247/12.9, allocations: 1.487 GB / 4.61 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.114e-06/12.9, allocations: 0 / 4.61 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003936/12.9, allocations: 55.73 kB / 4.61 GB, free: 102.9 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.01024/12.91, allocations: 2.579 MB / 4.612 GB, free: 102 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/12.91, allocations: 11.06 kB / 4.613 GB, free: 102 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00625/12.92, allocations: 0.8016 MB / 4.613 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008275/12.93, allocations: 3.014 MB / 4.616 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/12.93, allocations: 116.6 kB / 4.616 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003903/12.93, allocations: 152.6 kB / 4.616 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/12.93, allocations: 1.626 MB / 4.618 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/12.93, allocations: 2.406 kB / 4.618 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/12.93, allocations: 59.12 kB / 4.618 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/12.93, allocations: 46.59 kB / 4.618 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/12.94, allocations: 1.225 MB / 4.619 GB, free: 101.2 MB / 0.9167 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.01322/12.95, allocations: 7.665 MB / 4.627 GB, free: 97.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/12.95, allocations: 1.103 MB / 4.628 GB, free: 97.3 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006594/12.95, allocations: 450.3 kB / 4.628 GB, free: 97.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/12.95, allocations: 117.5 kB / 4.628 GB, free: 97.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/12.95, allocations: 46.84 kB / 4.629 GB, free: 97.16 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001418/12.95, allocations: 153.6 kB / 4.629 GB, free: 97.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=85): time 3.487e-06/12.95, allocations: 0 / 4.629 GB, free: 97.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=85): time 0.002629/12.96, allocations: 1.119 MB / 4.63 GB, free: 96.96 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/12.96, allocations: 59.97 kB / 4.63 GB, free: 96.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/12.96, allocations: 1.575 MB / 4.631 GB, free: 96.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/12.96, allocations: 49.14 kB / 4.631 GB, free: 96.65 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007693/12.96, allocations: 0.9935 MB / 4.632 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/12.96, allocations: 301.3 kB / 4.633 GB, free: 96.26 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/12.96, allocations: 19.38 kB / 4.633 GB, free: 96.26 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001053/12.96, allocations: 347.9 kB / 4.633 GB, free: 95.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/12.96, allocations: 365.5 kB / 4.633 GB, free: 95.95 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008142/12.96, allocations: 0.8064 MB / 4.634 GB, free: 95.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/12.96, allocations: 481.3 kB / 4.635 GB, free: 95.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/12.96, allocations: 9.688 kB / 4.635 GB, free: 95.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002982/12.96, allocations: 1.495 MB / 4.636 GB, free: 95.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009911/12.97, allocations: 3.977 MB / 4.64 GB, free: 90.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/12.97, allocations: 6.875 kB / 4.64 GB, free: 90.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008442/12.97, allocations: 271.3 kB / 4.64 GB, free: 90.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009993/12.97, allocations: 241.2 kB / 4.64 GB, free: 90.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/12.97, allocations: 3.596 MB / 4.644 GB, free: 88.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/12.97, allocations: 142.6 kB / 4.644 GB, free: 88.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/12.97, allocations: 77.27 kB / 4.644 GB, free: 88.06 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/12.97, allocations: 11.52 kB / 4.644 GB, free: 88.05 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003055/12.98, allocations: 1.357 MB / 4.646 GB, free: 88.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/12.98, allocations: 7.375 kB / 4.646 GB, free: 88.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/12.98, allocations: 337 kB / 4.646 GB, free: 87.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/12.98, allocations: 217.2 kB / 4.646 GB, free: 87.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006106/12.98, allocations: 5.166 MB / 4.651 GB, free: 84.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/12.99, allocations: 134.8 kB / 4.651 GB, free: 84.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/12.99, allocations: 68.83 kB / 4.651 GB, free: 84.42 MB / 0.9167 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.0005401/12.99, allocations: 177 kB / 4.651 GB, free: 84.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/12.99, allocations: 202.1 kB / 4.652 GB, free: 84.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/12.99, allocations: 1.349 MB / 4.653 GB, free: 84.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/12.99, allocations: 7.812 kB / 4.653 GB, free: 84.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/12.99, allocations: 6.531 kB / 4.653 GB, free: 84.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002209/12.99, allocations: 1.133 MB / 4.654 GB, free: 83.87 MB / 0.9167 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.006826/13, allocations: 3.14 MB / 4.657 GB, free: 83.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/13, allocations: 3.938 kB / 4.657 GB, free: 83.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/13, allocations: 178 kB / 4.657 GB, free: 83.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007271/13, allocations: 272 kB / 4.658 GB, free: 83.27 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/13, allocations: 31.53 kB / 4.658 GB, free: 83.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/13.01, allocations: 3.446 MB / 4.661 GB, free: 80.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/13.01, allocations: 3.094 kB / 4.661 GB, free: 80.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/13.01, allocations: 1.939 MB / 4.663 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/13.01, allocations: 366.3 kB / 4.663 GB, free: 79.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/13.01, allocations: 21.98 kB / 4.663 GB, free: 79.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/13.01, allocations: 131.8 kB / 4.663 GB, free: 79.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/13.01, allocations: 65.64 kB / 4.663 GB, free: 79.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.867e-05/13.01, allocations: 40.72 kB / 4.663 GB, free: 79.69 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001904/13.01, allocations: 1.216 MB / 4.665 GB, free: 79.53 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.9e-07/13.01, allocations: 2.438 kB / 4.665 GB, free: 79.53 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005596/13.02, allocations: 1.516 MB / 4.666 GB, free: 79.43 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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.008566/13.03, allocations: 4.48 MB / 4.671 GB, free: 77.64 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005524/13.03, allocations: 2.088 MB / 4.673 GB, free: 77.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/13.03, allocations: 0 / 4.673 GB, free: 77.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/13.04, allocations: 0.588 MB / 4.673 GB, free: 77.14 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00586/13.04, allocations: 1.043 MB / 4.674 GB, free: 77.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/13.05, allocations: 2.844 MB / 4.677 GB, free: 76.31 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/13.05, allocations: 1.658 MB / 4.679 GB, free: 75.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003365/13.05, allocations: 0.7583 MB / 4.679 GB, free: 75.56 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/13.05, allocations: 119 kB / 4.679 GB, free: 75.55 MB / 0.9167 GB Notification: Performance of SimCode: time 1.223e-06/13.05, allocations: 0 / 4.679 GB, free: 75.55 MB / 0.9167 GB Notification: Performance of Templates: time 0.13/13.18, allocations: 95.66 MB / 4.773 GB, free: 70.89 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches