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.475/1.475, allocations: 249.5 MB / 257 MB, free: 7.016 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.001111/0.001111, allocations: 183.5 kB / 316.3 MB, free: 3.234 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.769/1.769, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009283/0.0009279, allocations: 92.27 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.546e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2483, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.403/6.651, allocations: 2.231 GB / 3.117 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/6.651, allocations: 92.38 kB / 3.117 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.731/12.38, allocations: 1.47 GB / 4.586 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.156e-06/12.38, allocations: 4 kB / 4.586 GB, free: 6.078 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005477/12.38, allocations: 55.98 kB / 4.586 GB, free: 6.023 MB / 0.9011 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.01016/12.39, allocations: 2.578 MB / 4.589 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/12.39, allocations: 8.031 kB / 4.589 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006189/12.4, allocations: 0.8068 MB / 4.59 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009721/12.41, allocations: 3.011 MB / 4.593 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/12.41, allocations: 44.34 kB / 4.593 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006634/12.41, allocations: 95.95 kB / 4.593 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003551/12.41, allocations: 1.224 MB / 4.594 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/12.42, allocations: 1.423 MB / 4.595 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.451e-05/12.42, allocations: 0 / 4.595 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/12.42, allocations: 8 kB / 4.595 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/12.42, allocations: 46.69 kB / 4.596 GB, free: 12.58 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.01513/12.43, allocations: 7.391 MB / 4.603 GB, free: 4.641 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/12.44, allocations: 1.184 MB / 4.604 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/12.44, allocations: 479 kB / 4.604 GB, free: 2.945 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/12.44, allocations: 114.3 kB / 4.604 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/12.44, allocations: 47.34 kB / 4.604 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001432/12.44, allocations: 119.2 kB / 4.605 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=85): time 6.803e-06/12.44, allocations: 0 / 4.605 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of matching and sorting (n=85): time 0.003996/12.44, allocations: 1.269 MB / 4.606 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/12.44, allocations: 64.19 kB / 4.606 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8204/13.26, allocations: 1.342 MB / 4.607 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004711/13.26, allocations: 29.95 kB / 4.607 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/13.26, allocations: 0.997 MB / 4.608 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/13.27, allocations: 285.2 kB / 4.608 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/13.27, allocations: 3.062 kB / 4.608 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001295/13.27, allocations: 348.1 kB / 4.609 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008746/13.27, allocations: 400.6 kB / 4.609 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009157/13.27, allocations: 0.8239 MB / 4.61 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/13.27, allocations: 0.5663 MB / 4.611 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/13.27, allocations: 4 kB / 4.611 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004679/13.27, allocations: 1.574 MB / 4.612 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008683/13.27, allocations: 3.952 MB / 4.616 GB, free: 97.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/13.27, allocations: 14.92 kB / 4.616 GB, free: 97.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/13.28, allocations: 314.7 kB / 4.616 GB, free: 97.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/13.28, allocations: 236.1 kB / 4.617 GB, free: 97.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00382/13.28, allocations: 3.634 MB / 4.62 GB, free: 94.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/13.28, allocations: 112.8 kB / 4.62 GB, free: 94.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/13.28, allocations: 79.48 kB / 4.62 GB, free: 94.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/13.28, allocations: 4.344 kB / 4.62 GB, free: 94.75 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003912/13.29, allocations: 1.284 MB / 4.621 GB, free: 94.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/13.29, allocations: 9.031 kB / 4.622 GB, free: 94.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/13.29, allocations: 312.4 kB / 4.622 GB, free: 94.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/13.29, allocations: 218.2 kB / 4.622 GB, free: 94.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006174/13.3, allocations: 4.996 MB / 4.627 GB, free: 91.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/13.3, allocations: 108.6 kB / 4.627 GB, free: 91.24 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/13.3, allocations: 68.12 kB / 4.627 GB, free: 91.24 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0005252/13.3, allocations: 149.9 kB / 4.627 GB, free: 91.13 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/13.3, allocations: 191.8 kB / 4.627 GB, free: 91.03 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/13.3, allocations: 1.308 MB / 4.629 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/13.3, allocations: 12.7 kB / 4.629 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/13.3, allocations: 0 / 4.629 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002464/13.3, allocations: 1.126 MB / 4.63 GB, free: 90.7 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.008242/13.31, allocations: 2.941 MB / 4.633 GB, free: 90.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/13.31, allocations: 4.938 kB / 4.633 GB, free: 90.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009544/13.31, allocations: 177.5 kB / 4.633 GB, free: 90.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006462/13.31, allocations: 215.1 kB / 4.633 GB, free: 90.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/13.31, allocations: 19.34 kB / 4.633 GB, free: 90.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/13.32, allocations: 3.407 MB / 4.636 GB, free: 87.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/13.32, allocations: 5 kB / 4.636 GB, free: 87.31 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/13.32, allocations: 1.882 MB / 4.638 GB, free: 86.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/13.32, allocations: 358.7 kB / 4.639 GB, free: 86.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006437/13.32, allocations: 3.75 kB / 4.639 GB, free: 86.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/13.33, allocations: 126.7 kB / 4.639 GB, free: 86.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/13.33, allocations: 55.66 kB / 4.639 GB, free: 86.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/13.33, allocations: 39 kB / 4.639 GB, free: 86.64 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003065/13.33, allocations: 1.027 MB / 4.64 GB, free: 86.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.91e-07/13.33, allocations: 0 / 4.64 GB, free: 86.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007257/13.34, allocations: 1.416 MB / 4.641 GB, free: 86.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.009715/13.35, allocations: 4.654 MB / 4.646 GB, free: 84.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005918/13.35, allocations: 2.028 MB / 4.648 GB, free: 84.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/13.35, allocations: 0 / 4.648 GB, free: 84.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/13.35, allocations: 0.5636 MB / 4.648 GB, free: 84.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005992/13.36, allocations: 0.9148 MB / 4.649 GB, free: 84.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008344/13.37, allocations: 2.778 MB / 4.652 GB, free: 83.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/13.37, allocations: 1.658 MB / 4.653 GB, free: 82.77 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005998/13.38, allocations: 0.7043 MB / 4.654 GB, free: 82.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/13.38, allocations: 114.8 kB / 4.654 GB, free: 82.75 MB / 0.9167 GB Notification: Performance of SimCode: time 2.034e-06/13.38, allocations: 0 / 4.654 GB, free: 82.75 MB / 0.9167 GB Notification: Performance of Templates: time 0.1124/13.49, allocations: 61.79 MB / 4.715 GB, free: 80.19 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