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.438/2.438, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001541/0.001541, allocations: 183.2 kB / 498.1 MB, free: 5.688 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.745/1.745, allocations: 223.2 MB / 0.7949 GB, free: 17.85 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.0008936/0.0008936, allocations: 98.38 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003998, allocations: 10.47 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3196, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.216/4.536, allocations: 1.945 GB / 3.168 GB, free: 66.18 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/4.536, allocations: 95.95 kB / 3.168 GB, free: 66.09 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.904/10.44, allocations: 1.556 GB / 4.724 GB, free: 158.5 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.864e-06/10.44, allocations: 2.625 kB / 4.724 GB, free: 158.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002574/10.44, allocations: 58.17 kB / 4.724 GB, free: 158.5 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.009775/10.45, allocations: 3.44 MB / 4.727 GB, free: 157.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/10.45, allocations: 11.09 kB / 4.727 GB, free: 157.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007091/10.46, allocations: 0.9969 MB / 4.728 GB, free: 157.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00877/10.47, allocations: 3.128 MB / 4.731 GB, free: 156.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/10.47, allocations: 117.2 kB / 4.732 GB, free: 156.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/10.47, allocations: 153.5 kB / 4.732 GB, free: 156.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/10.47, allocations: 1.729 MB / 4.733 GB, free: 156.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/10.47, allocations: 3.781 kB / 4.733 GB, free: 156.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/10.47, allocations: 53 kB / 4.733 GB, free: 156.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/10.47, allocations: 50.95 kB / 4.734 GB, free: 156.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/10.47, allocations: 1.432 MB / 4.735 GB, free: 156.5 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.01073/10.49, allocations: 7.77 MB / 4.743 GB, free: 152.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/10.49, allocations: 1.293 MB / 4.744 GB, free: 152.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/10.49, allocations: 111.4 kB / 4.744 GB, free: 152.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/10.49, allocations: 54.77 kB / 4.744 GB, free: 152.4 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001358/10.49, allocations: 165.7 kB / 4.744 GB, free: 152.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=85): time 3.647e-06/10.49, allocations: 3.062 kB / 4.744 GB, free: 152.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=85): time 0.006746/10.5, allocations: 2.239 MB / 4.746 GB, free: 151.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/10.5, allocations: 62.91 kB / 4.746 GB, free: 151.8 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/10.5, allocations: 1.606 MB / 4.748 GB, free: 151.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/10.5, allocations: 50.41 kB / 4.748 GB, free: 151.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009256/10.5, allocations: 0.9997 MB / 4.749 GB, free: 151.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/10.5, allocations: 294.2 kB / 4.749 GB, free: 151 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/10.5, allocations: 25.84 kB / 4.749 GB, free: 151 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001096/10.5, allocations: 355.2 kB / 4.75 GB, free: 150.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/10.5, allocations: 467.7 kB / 4.75 GB, free: 150.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/10.5, allocations: 0.889 MB / 4.751 GB, free: 150.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/10.51, allocations: 0.5656 MB / 4.751 GB, free: 150.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/10.51, allocations: 3.094 kB / 4.751 GB, free: 150.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004197/10.51, allocations: 1.692 MB / 4.753 GB, free: 150 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001091/10.51, allocations: 3.977 MB / 4.757 GB, free: 145.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/10.51, allocations: 7.875 kB / 4.757 GB, free: 145.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/10.51, allocations: 279.6 kB / 4.757 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/10.51, allocations: 256.6 kB / 4.757 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/10.52, allocations: 3.691 MB / 4.761 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/10.52, allocations: 166.8 kB / 4.761 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/10.52, allocations: 76.16 kB / 4.761 GB, free: 142.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/10.52, allocations: 4.625 kB / 4.761 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004121/10.52, allocations: 1.542 MB / 4.763 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/10.52, allocations: 7.875 kB / 4.763 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/10.53, allocations: 333.7 kB / 4.763 GB, free: 142.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/10.53, allocations: 242 kB / 4.763 GB, free: 142.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006306/10.53, allocations: 5.266 MB / 4.769 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/10.53, allocations: 157 kB / 4.769 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/10.54, allocations: 68.67 kB / 4.769 GB, free: 139.2 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.001744/10.54, allocations: 0.61 MB / 4.769 GB, free: 139 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000881/10.54, allocations: 201.6 kB / 4.77 GB, free: 138.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005288/10.54, allocations: 1.559 MB / 4.771 GB, free: 138.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/10.54, allocations: 7.281 kB / 4.771 GB, free: 138.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/10.54, allocations: 0 / 4.771 GB, free: 138.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003648/10.55, allocations: 1.344 MB / 4.772 GB, free: 138.5 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.009305/10.56, allocations: 3.375 MB / 4.776 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/10.56, allocations: 0 / 4.776 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/10.56, allocations: 198.5 kB / 4.776 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008711/10.56, allocations: 266.9 kB / 4.776 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.894e-05/10.56, allocations: 31.56 kB / 4.776 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/10.56, allocations: 3.543 MB / 4.78 GB, free: 135 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/10.56, allocations: 0 / 4.78 GB, free: 135 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005061/10.57, allocations: 2.253 MB / 4.782 GB, free: 134.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/10.57, allocations: 380.5 kB / 4.782 GB, free: 134.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007313/10.57, allocations: 22.2 kB / 4.782 GB, free: 134.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/10.57, allocations: 141.8 kB / 4.782 GB, free: 134.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/10.57, allocations: 60.38 kB / 4.782 GB, free: 134.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/10.57, allocations: 42.62 kB / 4.782 GB, free: 134.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002847/10.57, allocations: 1.238 MB / 4.784 GB, free: 134.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.643e-06/10.57, allocations: 0 / 4.784 GB, free: 134.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.007143/10.58, allocations: 1.554 MB / 4.785 GB, free: 133.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.007502/10.59, allocations: 4.483 MB / 4.79 GB, free: 132.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005953/10.59, allocations: 2.301 MB / 4.792 GB, free: 131.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/10.59, allocations: 0 / 4.792 GB, free: 131.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/10.6, allocations: 0.6996 MB / 4.792 GB, free: 131.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005677/10.6, allocations: 1.036 MB / 4.793 GB, free: 131.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008997/10.61, allocations: 4.473 MB / 4.798 GB, free: 129.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/10.61, allocations: 1.655 MB / 4.799 GB, free: 128.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003007/10.62, allocations: 0.4997 MB / 4.8 GB, free: 128.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/10.62, allocations: 149.9 kB / 4.8 GB, free: 128.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.222e-06/10.62, allocations: 3.219 kB / 4.8 GB, free: 128.9 MB / 1.182 GB Notification: Performance of Templates: time 0.1288/10.74, allocations: 82.97 MB / 4.881 GB, free: 100.3 MB / 1.182 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