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.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 184.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.00102/0.00102, allocations: 99.67 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 11.12 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2495, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.22/5.47, allocations: 2.231 GB / 3.131 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/5.47, allocations: 93.78 kB / 3.131 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.213/10.68, allocations: 1.488 GB / 4.62 GB, free: 114.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.064e-06/10.68, allocations: 0 / 4.62 GB, free: 114.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005631/10.68, allocations: 64.47 kB / 4.62 GB, free: 114.3 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.01516/10.7, allocations: 3.426 MB / 4.623 GB, free: 113 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/10.7, allocations: 10.31 kB / 4.623 GB, free: 113 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006298/10.7, allocations: 0.8117 MB / 4.624 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009997/10.72, allocations: 3.03 MB / 4.627 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/10.72, allocations: 121.4 kB / 4.627 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007439/10.72, allocations: 159.1 kB / 4.627 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004918/10.72, allocations: 1.686 MB / 4.629 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.299e-05/10.72, allocations: 7.344 kB / 4.629 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/10.72, allocations: 57.69 kB / 4.629 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/10.72, allocations: 56.11 kB / 4.629 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/10.72, allocations: 1.341 MB / 4.63 GB, free: 112.1 MB / 0.9167 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.01232/10.74, allocations: 7.664 MB / 4.638 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/10.74, allocations: 1.186 MB / 4.639 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/10.74, allocations: 111.7 kB / 4.639 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/10.74, allocations: 44.75 kB / 4.639 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001384/10.74, allocations: 160.5 kB / 4.639 GB, free: 108 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=85): time 8.065e-06/10.74, allocations: 0 / 4.639 GB, free: 108 MB / 0.9167 GB Notification: Performance of matching and sorting (n=85): time 0.00616/10.75, allocations: 2.115 MB / 4.641 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/10.75, allocations: 59.06 kB / 4.641 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/10.75, allocations: 1.585 MB / 4.643 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/10.75, allocations: 53.55 kB / 4.643 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/10.75, allocations: 0.9953 MB / 4.644 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/10.75, allocations: 294 kB / 4.644 GB, free: 106.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/10.75, allocations: 25.83 kB / 4.644 GB, free: 106.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/10.75, allocations: 348 kB / 4.645 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008399/10.75, allocations: 419.9 kB / 4.645 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/10.75, allocations: 0.8608 MB / 4.646 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009515/10.75, allocations: 0.5226 MB / 4.646 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/10.75, allocations: 13.64 kB / 4.646 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00347/10.76, allocations: 1.598 MB / 4.648 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008214/10.76, allocations: 3.973 MB / 4.652 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/10.76, allocations: 10.94 kB / 4.652 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009143/10.76, allocations: 279.2 kB / 4.652 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/10.76, allocations: 243.8 kB / 4.652 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/10.76, allocations: 3.637 MB / 4.656 GB, free: 98.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/10.77, allocations: 140.9 kB / 4.656 GB, free: 98.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/10.77, allocations: 84 kB / 4.656 GB, free: 98.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/10.77, allocations: 3.812 kB / 4.656 GB, free: 98.45 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003212/10.77, allocations: 1.452 MB / 4.658 GB, free: 98.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/10.77, allocations: 9.781 kB / 4.658 GB, free: 98.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/10.77, allocations: 333.4 kB / 4.658 GB, free: 98.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/10.77, allocations: 220.1 kB / 4.658 GB, free: 98.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/10.78, allocations: 5.238 MB / 4.663 GB, free: 94.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/10.78, allocations: 140.6 kB / 4.663 GB, free: 94.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/10.78, allocations: 74.72 kB / 4.663 GB, free: 94.8 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 () * 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.001408/10.78, allocations: 0.6107 MB / 4.664 GB, free: 94.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/10.78, allocations: 198.5 kB / 4.664 GB, free: 94.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/10.78, allocations: 1.453 MB / 4.666 GB, free: 94.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/10.78, allocations: 11.19 kB / 4.666 GB, free: 94.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/10.78, allocations: 0 / 4.666 GB, free: 94.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002663/10.79, allocations: 1.251 MB / 4.667 GB, free: 94.14 MB / 0.9167 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.006497/10.79, allocations: 3.234 MB / 4.67 GB, free: 93.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/10.79, allocations: 0 / 4.67 GB, free: 93.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/10.79, allocations: 180.2 kB / 4.67 GB, free: 93.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007846/10.8, allocations: 282.9 kB / 4.67 GB, free: 93.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/10.8, allocations: 25.39 kB / 4.67 GB, free: 93.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/10.8, allocations: 3.527 MB / 4.674 GB, free: 90.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/10.8, allocations: 0 / 4.674 GB, free: 90.62 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004217/10.8, allocations: 2.107 MB / 4.676 GB, free: 90.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009999/10.8, allocations: 368.7 kB / 4.676 GB, free: 89.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/10.8, allocations: 17.62 kB / 4.676 GB, free: 89.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/10.8, allocations: 131.9 kB / 4.676 GB, free: 89.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/10.8, allocations: 67.19 kB / 4.676 GB, free: 89.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/10.81, allocations: 44.16 kB / 4.677 GB, free: 89.92 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001762/10.81, allocations: 1.238 MB / 4.678 GB, free: 89.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/10.81, allocations: 0 / 4.678 GB, free: 89.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004875/10.81, allocations: 1.517 MB / 4.679 GB, free: 89.59 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 () * 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.006167/10.82, allocations: 4.475 MB / 4.684 GB, free: 87.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004452/10.82, allocations: 2.173 MB / 4.686 GB, free: 87.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/10.82, allocations: 0 / 4.686 GB, free: 87.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/10.82, allocations: 0.6444 MB / 4.686 GB, free: 87.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/10.83, allocations: 1.052 MB / 4.687 GB, free: 87.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/10.83, allocations: 4.376 MB / 4.692 GB, free: 85.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009997/10.83, allocations: 1.656 MB / 4.693 GB, free: 84.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001984/10.84, allocations: 497.5 kB / 4.694 GB, free: 84.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/10.84, allocations: 146.5 kB / 4.694 GB, free: 84.47 MB / 0.9167 GB Notification: Performance of SimCode: time 1.162e-06/10.84, allocations: 3.938 kB / 4.694 GB, free: 84.46 MB / 0.9167 GB Notification: Performance of Templates: time 0.1101/10.95, allocations: 82.8 MB / 4.775 GB, free: 39.14 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