Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 102.4 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 193.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.78 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2594, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.5502/0.8096, allocations: 58.58 MB / 1.076 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02631/0.8359, allocations: 19.93 MB / 1.095 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004007/0.84, allocations: 88.69 kB / 1.096 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0196/0.8596, allocations: 9.817 MB / 1.105 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.8699, allocations: 2.861 MB / 1.108 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00672/0.8767, allocations: 2.333 MB / 1.11 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02173/0.8984, allocations: 14.2 MB / 1.124 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003586/0.902, allocations: 1.755 MB / 1.126 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005366/0.9074, allocations: 2.043 MB / 1.128 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002998/0.9104, allocations: 1.509 MB / 1.129 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007329/0.9112, allocations: 201.5 kB / 1.129 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005558/0.9167, allocations: 2.327 MB / 1.132 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009313/0.9177, allocations: 0.8748 MB / 1.133 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.9194, allocations: 1.389 MB / 1.134 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006409/0.9258, allocations: 4.597 MB / 1.138 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.9258, allocations: 0 / 1.138 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9258, allocations: 0 / 1.138 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.182e-05/0.9259, allocations: 1.188 kB / 1.138 GB, free: 14.46 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00618/0.9321, allocations: 3.218 MB / 1.142 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.9321, allocations: 8.406 kB / 1.142 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005774/0.9379, allocations: 0.9415 MB / 1.142 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008966/0.9469, allocations: 3.465 MB / 1.146 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.727e-05/0.947, allocations: 94.23 kB / 1.146 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.9472, allocations: 122.6 kB / 1.146 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.9502, allocations: 1.521 MB / 1.148 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.9502, allocations: 3.938 kB / 1.148 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.9503, allocations: 43.59 kB / 1.148 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.9503, allocations: 29.44 kB / 1.148 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.9533, allocations: 1.332 MB / 1.149 GB, free: 7.625 MB / 0.8575 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.01003/0.9634, allocations: 7.139 MB / 1.156 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.966, allocations: 1.017 MB / 1.157 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.9672, allocations: 0.5001 MB / 1.157 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004325/0.9715, allocations: 3 MB / 1.16 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.9716, allocations: 37.69 kB / 1.16 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=58): time 3.627e-06/0.9716, allocations: 0 / 1.16 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58): time 0.004731/0.9763, allocations: 1.718 MB / 1.162 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.9764, allocations: 56.84 kB / 1.162 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004213/0.9806, allocations: 2.633 MB / 1.165 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.9808, allocations: 49.14 kB / 1.165 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009038/0.9817, allocations: 1.048 MB / 1.166 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.9819, allocations: 213.8 kB / 1.166 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006816/0.9826, allocations: 447 kB / 1.166 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.9827, allocations: 301.1 kB / 1.167 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.9847, allocations: 1.149 MB / 1.168 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.9871, allocations: 1.559 MB / 1.169 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/0.991, allocations: 2.461 MB / 1.172 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.9911, allocations: 3.938 kB / 1.172 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005418/0.9965, allocations: 3.047 MB / 1.175 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.9965, allocations: 15.98 kB / 1.175 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.9966, allocations: 8 kB / 1.175 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004568/0.997, allocations: 100.8 kB / 1.175 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.9985, allocations: 347.9 kB / 1.175 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005165/0.999, allocations: 0.6186 MB / 1.176 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/1.001, allocations: 223.4 kB / 1.176 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/1.001, allocations: 103.9 kB / 1.176 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002655/1.004, allocations: 1.507 MB / 1.177 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002083/1.006, allocations: 1.368 MB / 1.179 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003376/1.01, allocations: 2.086 MB / 1.181 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.007e-05/1.01, allocations: 0 / 1.181 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005239/1.015, allocations: 2.676 MB / 1.183 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.015, allocations: 15.98 kB / 1.183 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.015, allocations: 11.94 kB / 1.183 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/1.016, allocations: 125.2 kB / 1.184 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.017, allocations: 331.5 kB / 1.184 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/1.021, allocations: 2.843 MB / 1.187 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/1.024, allocations: 186.9 kB / 1.187 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/1.024, allocations: 83.97 kB / 1.187 GB, free: 3.598 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (164): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000426/1.024, allocations: 249 kB / 1.187 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006151/1.025, allocations: 232.9 kB / 1.187 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/1.029, allocations: 1.592 MB / 1.189 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/1.029, allocations: 8 kB / 1.189 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.029, allocations: 3.984 kB / 1.189 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.029, allocations: 0 / 1.189 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006988/1.036, allocations: 3.143 MB / 1.192 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.036, allocations: 4 kB / 1.192 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009393/1.037, allocations: 164 kB / 1.192 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/1.037, allocations: 72.73 kB / 1.192 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-05/1.037, allocations: 31.97 kB / 1.192 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004327/1.038, allocations: 0.603 MB / 1.193 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.038, allocations: 7.938 kB / 1.193 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/1.041, allocations: 1.524 MB / 1.194 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.043, allocations: 441.5 kB / 1.195 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006474/1.043, allocations: 16 kB / 1.195 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.045, allocations: 75.92 kB / 1.195 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/1.045, allocations: 60.36 kB / 1.195 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.045, allocations: 43.97 kB / 1.195 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003127/1.048, allocations: 1.757 MB / 1.197 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/1.048, allocations: 7.938 kB / 1.197 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004191/1.052, allocations: 1.243 MB / 1.198 GB, free: 8.184 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002043/1.054, allocations: 0.7719 MB / 1.199 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006743/1.061, allocations: 3.467 MB / 1.202 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.061, allocations: 5.312 kB / 1.202 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.063, allocations: 0.5892 MB / 1.203 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005302/1.068, allocations: 1.227 MB / 1.204 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0073/1.075, allocations: 4.102 MB / 1.208 GB, free: 14.04 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.077, allocations: 1.73 MB / 1.21 GB, free: 12.28 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002716/1.08, allocations: 0.7133 MB / 1.21 GB, free: 11.56 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/1.08, allocations: 199.3 kB / 1.21 GB, free: 11.37 MB / 0.92 GB Notification: Performance of SimCode: time 9.91e-07/1.08, allocations: 0 / 1.21 GB, free: 11.37 MB / 0.92 GB Notification: Performance of Templates: time 0.08617/1.167, allocations: 53.42 MB / 1.263 GB, free: 6.656 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches