Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.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_Nrpm,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_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_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.572/2.572, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001218/0.001219, allocations: 173.1 kB / 498.1 MB, free: 5.746 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.718/1.718, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.001008/0.001008, allocations: 100.1 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004729, allocations: 6.875 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3943, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.581/4.975, allocations: 1.945 GB / 3.168 GB, free: 16.14 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/4.975, allocations: 102.7 kB / 3.168 GB, free: 16.04 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.208/11.18, allocations: 1.556 GB / 4.724 GB, free: 167.4 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.404e-06/11.18, allocations: 0 / 4.724 GB, free: 167.4 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004838/11.18, allocations: 70.42 kB / 4.724 GB, free: 167.4 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01361/11.2, allocations: 3.434 MB / 4.727 GB, free: 166.1 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/11.2, allocations: 6.938 kB / 4.727 GB, free: 166.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007886/11.21, allocations: 1.003 MB / 4.728 GB, free: 166 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/11.22, allocations: 3.133 MB / 4.731 GB, free: 165.4 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/11.22, allocations: 116.1 kB / 4.732 GB, free: 165.4 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006764/11.22, allocations: 152 kB / 4.732 GB, free: 165.4 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005125/11.22, allocations: 1.744 MB / 4.733 GB, free: 165.2 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/11.22, allocations: 3.562 kB / 4.733 GB, free: 165.2 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/11.22, allocations: 59 kB / 4.733 GB, free: 165.2 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/11.22, allocations: 50.14 kB / 4.734 GB, free: 165.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/11.23, allocations: 1.428 MB / 4.735 GB, free: 165.2 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.01445/11.24, allocations: 7.769 MB / 4.743 GB, free: 161.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/11.24, allocations: 1.294 MB / 4.744 GB, free: 161.2 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/11.24, allocations: 115.2 kB / 4.744 GB, free: 161.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/11.25, allocations: 45.69 kB / 4.744 GB, free: 161.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00206/11.25, allocations: 155.1 kB / 4.744 GB, free: 161.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=85): time 1.384e-05/11.25, allocations: 0 / 4.744 GB, free: 161.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=85): time 0.007829/11.25, allocations: 2.25 MB / 4.746 GB, free: 160.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/11.26, allocations: 64.17 kB / 4.746 GB, free: 160.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004289/11.26, allocations: 1.596 MB / 4.748 GB, free: 160.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002312/11.26, allocations: 51.64 kB / 4.748 GB, free: 160.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/11.26, allocations: 1.004 MB / 4.749 GB, free: 160 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/11.26, allocations: 292.2 kB / 4.749 GB, free: 159.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/11.26, allocations: 20.88 kB / 4.749 GB, free: 159.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001137/11.26, allocations: 347.7 kB / 4.75 GB, free: 159.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/11.26, allocations: 466.2 kB / 4.75 GB, free: 159.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/11.26, allocations: 0.8938 MB / 4.751 GB, free: 158.9 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/11.27, allocations: 0.5656 MB / 4.751 GB, free: 158.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/11.27, allocations: 3.688 kB / 4.751 GB, free: 158.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004498/11.27, allocations: 1.697 MB / 4.753 GB, free: 158.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001094/11.27, allocations: 3.982 MB / 4.757 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/11.27, allocations: 6.219 kB / 4.757 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/11.27, allocations: 268.6 kB / 4.757 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/11.27, allocations: 267.5 kB / 4.757 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/11.28, allocations: 3.692 MB / 4.761 GB, free: 151.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/11.28, allocations: 157.4 kB / 4.761 GB, free: 151.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/11.28, allocations: 82.56 kB / 4.761 GB, free: 151.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/11.28, allocations: 3.875 kB / 4.761 GB, free: 151.4 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004165/11.28, allocations: 1.548 MB / 4.763 GB, free: 151.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.824e-05/11.28, allocations: 13.67 kB / 4.763 GB, free: 151.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/11.29, allocations: 326.1 kB / 4.763 GB, free: 151.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009885/11.29, allocations: 240.2 kB / 4.763 GB, free: 151.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/11.29, allocations: 5.27 MB / 4.769 GB, free: 147.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/11.29, allocations: 155.7 kB / 4.769 GB, free: 147.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/11.3, allocations: 73.48 kB / 4.769 GB, free: 147.7 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 (118): * Single equations (assignments): 112 * 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 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001834/11.3, allocations: 0.6133 MB / 4.769 GB, free: 147.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007761/11.3, allocations: 199.5 kB / 4.77 GB, free: 147.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/11.3, allocations: 1.546 MB / 4.771 GB, free: 147.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/11.3, allocations: 18.7 kB / 4.771 GB, free: 147.2 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/11.3, allocations: 0 / 4.771 GB, free: 147.2 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00335/11.31, allocations: 1.34 MB / 4.772 GB, free: 146.9 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.009918/11.32, allocations: 3.364 MB / 4.776 GB, free: 145.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/11.32, allocations: 7.781 kB / 4.776 GB, free: 145.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009942/11.32, allocations: 188.9 kB / 4.776 GB, free: 145.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009141/11.32, allocations: 280.1 kB / 4.776 GB, free: 145.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/11.32, allocations: 26.42 kB / 4.776 GB, free: 145.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/11.32, allocations: 3.536 MB / 4.78 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/11.32, allocations: 10.16 kB / 4.78 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005675/11.33, allocations: 2.259 MB / 4.782 GB, free: 141.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/11.33, allocations: 372 kB / 4.782 GB, free: 140.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006897/11.33, allocations: 23.42 kB / 4.782 GB, free: 140.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/11.33, allocations: 135.2 kB / 4.782 GB, free: 140.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/11.33, allocations: 62.17 kB / 4.782 GB, free: 140.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/11.33, allocations: 45.05 kB / 4.782 GB, free: 140.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003218/11.33, allocations: 1.24 MB / 4.784 GB, free: 140.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.61e-07/11.33, allocations: 0 / 4.784 GB, free: 140.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.007807/11.34, allocations: 1.55 MB / 4.785 GB, free: 139.9 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 (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.007658/11.35, allocations: 4.508 MB / 4.79 GB, free: 138 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006085/11.36, allocations: 2.297 MB / 4.792 GB, free: 137 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/11.36, allocations: 0 / 4.792 GB, free: 137 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/11.36, allocations: 0.705 MB / 4.792 GB, free: 136.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005742/11.36, allocations: 1.047 MB / 4.794 GB, free: 136.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008863/11.37, allocations: 4.45 MB / 4.798 GB, free: 134.2 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/11.37, allocations: 1.653 MB / 4.799 GB, free: 133.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003043/11.38, allocations: 0.51 MB / 4.8 GB, free: 133.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/11.38, allocations: 149.7 kB / 4.8 GB, free: 133.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.653e-06/11.38, allocations: 0 / 4.8 GB, free: 133.2 MB / 1.182 GB Notification: Performance of Templates: time 0.1122/11.49, allocations: 82.96 MB / 4.881 GB, free: 55.63 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches