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.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001164/0.001164, allocations: 177.1 kB / 326.5 MB, free: 2.273 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.809/1.809, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008738/0.0008738, allocations: 94.42 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.0005198, allocations: 9.844 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2128, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9102/1.123, allocations: 431.5 MB / 1.321 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.123, allocations: 97.36 kB / 1.322 GB, free: 492 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.467/3.591, allocations: 0.7462 GB / 2.068 GB, free: 19.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.373e-06/3.591, allocations: 4 kB / 2.068 GB, free: 19.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003772/3.591, allocations: 55.97 kB / 2.068 GB, free: 19.21 MB / 0.8855 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.008231/3.599, allocations: 2.573 MB / 2.07 GB, free: 16.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/3.599, allocations: 8.031 kB / 2.07 GB, free: 16.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/3.603, allocations: 0.5439 MB / 2.071 GB, free: 16.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02859/3.631, allocations: 13.81 MB / 2.084 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/3.632, allocations: 90.06 kB / 2.084 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005058/3.632, allocations: 116 kB / 2.084 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/3.636, allocations: 1.282 MB / 2.086 GB, free: 488 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/3.636, allocations: 4.281 kB / 2.086 GB, free: 484 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/3.636, allocations: 55.95 kB / 2.086 GB, free: 428 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/3.636, allocations: 24 kB / 2.086 GB, free: 404 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5883/4.224, allocations: 0.9777 MB / 2.087 GB, free: 145 MB / 0.8855 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.008689/4.233, allocations: 5.778 MB / 2.092 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/4.235, allocations: 0.8164 MB / 2.093 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0047/4.24, allocations: 2.733 MB / 2.096 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/4.24, allocations: 37.33 kB / 2.096 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009337/4.241, allocations: 91.55 kB / 2.096 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 5.26e-06/4.241, allocations: 0 / 2.096 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.004603/4.246, allocations: 1.575 MB / 2.098 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/4.246, allocations: 58.52 kB / 2.098 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/4.249, allocations: 1.304 MB / 2.099 GB, free: 140 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/4.249, allocations: 46.56 kB / 2.099 GB, free: 140 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008007/4.25, allocations: 0.851 MB / 2.1 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/4.25, allocations: 207.5 kB / 2.1 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/4.25, allocations: 14.94 kB / 2.1 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001146/4.25, allocations: 341.5 kB / 2.1 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/4.251, allocations: 329.8 kB / 2.101 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/4.252, allocations: 0.7563 MB / 2.101 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/4.253, allocations: 428.9 kB / 2.102 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/4.253, allocations: 3.438 kB / 2.102 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.0037/4.257, allocations: 1.323 MB / 2.103 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001272/4.258, allocations: 4.329 MB / 2.107 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/4.258, allocations: 10.97 kB / 2.107 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009383/4.259, allocations: 205.5 kB / 2.107 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/4.26, allocations: 215.9 kB / 2.108 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/4.261, allocations: 1.819 MB / 2.109 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/4.263, allocations: 106.9 kB / 2.11 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/4.263, allocations: 76.33 kB / 2.11 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/4.263, allocations: 7.109 kB / 2.11 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003221/4.266, allocations: 1.177 MB / 2.111 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/4.266, allocations: 13.78 kB / 2.111 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007577/4.267, allocations: 232.9 kB / 2.111 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/4.268, allocations: 203.1 kB / 2.111 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/4.272, allocations: 3.852 MB / 2.115 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/4.274, allocations: 95.88 kB / 2.115 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/4.274, allocations: 69.45 kB / 2.115 GB, free: 129.7 MB / 0.8855 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 () * Number of clocked 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.001341/4.275, allocations: 0.4932 MB / 2.116 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/4.276, allocations: 164.5 kB / 2.116 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/4.278, allocations: 1.308 MB / 2.117 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/4.278, allocations: 10.98 kB / 2.117 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/4.278, allocations: 0 / 2.117 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/4.278, allocations: 4.5 kB / 2.117 GB, free: 129.3 MB / 0.8855 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.005021/4.283, allocations: 2.498 MB / 2.119 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/4.283, allocations: 1 kB / 2.119 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/4.284, allocations: 117.8 kB / 2.12 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006352/4.285, allocations: 197.5 kB / 2.12 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/4.285, allocations: 32.55 kB / 2.12 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009896/4.286, allocations: 1.787 MB / 2.122 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/4.286, allocations: 2.844 kB / 2.122 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/4.288, allocations: 1.338 MB / 2.123 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006548/4.289, allocations: 328.2 kB / 2.123 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/4.289, allocations: 17.5 kB / 2.123 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/4.29, allocations: 87.28 kB / 2.123 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/4.29, allocations: 51.77 kB / 2.123 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/4.29, allocations: 37.97 kB / 2.123 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001435/4.292, allocations: 1.003 MB / 2.124 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.01e-07/4.292, allocations: 0 / 2.124 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003817/4.295, allocations: 1.049 MB / 2.125 GB, free: 126.5 MB / 0.8855 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 () * Number of clocked 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.002363/4.298, allocations: 1.415 MB / 2.127 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003419/4.301, allocations: 1.642 MB / 2.128 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/4.301, allocations: 1.312 kB / 2.128 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009654/4.302, allocations: 480.4 kB / 2.129 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/4.305, allocations: 0.6944 MB / 2.13 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/4.31, allocations: 3.367 MB / 2.133 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/4.311, allocations: 1.422 MB / 2.134 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001862/4.312, allocations: 417.6 kB / 2.135 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/4.313, allocations: 135.4 kB / 2.135 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.312e-06/4.313, allocations: 0 / 2.135 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.06348/4.376, allocations: 41.5 MB / 2.175 GB, free: 122.1 MB / 0.8855 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