Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.532/1.532, allocations: 249.3 MB / 261.8 MB, free: 5.926 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.001015/0.001015, allocations: 182.1 kB / 321.3 MB, free: 14.63 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.582/1.582, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009045/0.0009045, allocations: 86.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.164e-05/4.169e-05, allocations: 8 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2309, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.733/1.964, allocations: 431.4 MB / 1.313 GB, free: 307.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.964, allocations: 89.75 kB / 1.313 GB, free: 307.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.798/4.762, allocations: 0.7439 GB / 2.057 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/4.762, allocations: 2.953 kB / 2.057 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002213/4.763, allocations: 56.47 kB / 2.057 GB, free: 131.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.004862/4.767, allocations: 1.972 MB / 2.059 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/4.768, allocations: 8.594 kB / 2.059 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/4.771, allocations: 0.5464 MB / 2.06 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03004/4.801, allocations: 13.71 MB / 2.073 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/4.801, allocations: 97.06 kB / 2.073 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/4.801, allocations: 116 kB / 2.073 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/4.803, allocations: 1.206 MB / 2.074 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/4.803, allocations: 3.469 kB / 2.074 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/4.804, allocations: 49.98 kB / 2.074 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/4.804, allocations: 29.28 kB / 2.074 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/4.805, allocations: 0.851 MB / 2.075 GB, free: 129.5 MB / 0.8698 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.008513/4.814, allocations: 5.779 MB / 2.081 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/4.815, allocations: 0.7275 MB / 2.082 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/4.816, allocations: 317.4 kB / 2.082 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003985/4.82, allocations: 2.76 MB / 2.085 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/4.82, allocations: 41.31 kB / 2.085 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006175/4.82, allocations: 81.05 kB / 2.085 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 3.276e-06/4.82, allocations: 0 / 2.085 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.001518/4.822, allocations: 0.7999 MB / 2.085 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/4.822, allocations: 59.62 kB / 2.086 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/4.824, allocations: 1.293 MB / 2.087 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/4.824, allocations: 42.17 kB / 2.087 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/4.824, allocations: 0.8482 MB / 2.088 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/4.824, allocations: 211.9 kB / 2.088 GB, free: 124 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/4.825, allocations: 15.94 kB / 2.088 GB, free: 124 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/4.825, allocations: 345.4 kB / 2.088 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/4.825, allocations: 279.7 kB / 2.088 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/4.826, allocations: 0.7155 MB / 2.089 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/4.826, allocations: 383.4 kB / 2.09 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/4.826, allocations: 0 / 2.09 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002252/4.829, allocations: 1.224 MB / 2.091 GB, free: 123 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/4.83, allocations: 4.337 MB / 2.095 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/4.83, allocations: 11.59 kB / 2.095 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000739/4.83, allocations: 203.2 kB / 2.095 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/4.831, allocations: 212.7 kB / 2.095 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/4.832, allocations: 1.812 MB / 2.097 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/4.833, allocations: 102.4 kB / 2.097 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/4.834, allocations: 73.78 kB / 2.097 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/4.834, allocations: 8.828 kB / 2.097 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002146/4.836, allocations: 1.089 MB / 2.098 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/4.836, allocations: 10.69 kB / 2.098 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/4.836, allocations: 221.4 kB / 2.099 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/4.837, allocations: 204.2 kB / 2.099 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/4.841, allocations: 3.786 MB / 2.102 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/4.843, allocations: 95.7 kB / 2.103 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/4.843, allocations: 68.89 kB / 2.103 GB, free: 114 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003812/4.843, allocations: 175.8 kB / 2.103 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/4.844, allocations: 163 kB / 2.103 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/4.846, allocations: 1.202 MB / 2.104 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/4.846, allocations: 10.45 kB / 2.104 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/4.846, allocations: 3.312 kB / 2.104 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/4.846, allocations: 7.281 kB / 2.104 GB, free: 113.6 MB / 0.8698 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.004529/4.851, allocations: 2.416 MB / 2.107 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/4.851, allocations: 0 / 2.107 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/4.851, allocations: 117.2 kB / 2.107 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005946/4.852, allocations: 174.8 kB / 2.107 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/4.852, allocations: 30.97 kB / 2.107 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/4.853, allocations: 1.768 MB / 2.109 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/4.853, allocations: 5 kB / 2.109 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/4.855, allocations: 1.24 MB / 2.11 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/4.856, allocations: 339 kB / 2.11 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/4.857, allocations: 11.59 kB / 2.11 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/4.857, allocations: 82.47 kB / 2.11 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/4.857, allocations: 50.06 kB / 2.11 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/4.858, allocations: 41.2 kB / 2.11 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001452/4.859, allocations: 0.9886 MB / 2.111 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.859, allocations: 0 / 2.111 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003563/4.863, allocations: 1.056 MB / 2.112 GB, free: 109.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002667/4.865, allocations: 1.407 MB / 2.114 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003329/4.869, allocations: 1.564 MB / 2.115 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/4.869, allocations: 0 / 2.115 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007901/4.869, allocations: 419.2 kB / 2.116 GB, free: 108 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/4.873, allocations: 0.7052 MB / 2.116 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/4.877, allocations: 2.102 MB / 2.118 GB, free: 107 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/4.878, allocations: 1.431 MB / 2.12 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002552/4.88, allocations: 0.5735 MB / 2.12 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/4.881, allocations: 99.67 kB / 2.12 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.422e-06/4.881, allocations: 0 / 2.12 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.07618/4.957, allocations: 46.6 MB / 2.166 GB, free: 88.79 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches