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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001478/0.001478, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001624/0.001624, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.12 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.657/0.984, allocations: 58.56 MB / 1.075 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03037/1.014, allocations: 19.93 MB / 1.095 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004652/1.019, allocations: 88.78 kB / 1.095 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.02123/1.04, allocations: 9.818 MB / 1.104 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/1.051, allocations: 2.858 MB / 1.107 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007608/1.059, allocations: 2.309 MB / 1.109 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02696/1.086, allocations: 14.18 MB / 1.123 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004322/1.09, allocations: 1.754 MB / 1.125 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006167/1.096, allocations: 2.024 MB / 1.127 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/1.1, allocations: 1.502 MB / 1.128 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001177/1.101, allocations: 198.1 kB / 1.129 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007428/1.109, allocations: 2.32 MB / 1.131 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001757/1.11, allocations: 0.8681 MB / 1.132 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004153/1.115, allocations: 1.401 MB / 1.133 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/1.127, allocations: 4.562 MB / 1.137 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.127, allocations: 4 kB / 1.137 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/1.127, allocations: 0 / 1.137 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001547/1.127, allocations: 0 / 1.137 GB, free: 14.34 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.008294/1.136, allocations: 3.214 MB / 1.141 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.136, allocations: 9.75 kB / 1.141 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00579/1.142, allocations: 0.9378 MB / 1.142 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008175/1.15, allocations: 3.401 MB / 1.145 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/1.15, allocations: 98.94 kB / 1.145 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/1.15, allocations: 121.3 kB / 1.145 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/1.154, allocations: 1.518 MB / 1.147 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/1.154, allocations: 2.156 kB / 1.147 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/1.154, allocations: 49.83 kB / 1.147 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/1.154, allocations: 27.12 kB / 1.147 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/1.157, allocations: 1.339 MB / 1.148 GB, free: 7.535 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.01105/1.168, allocations: 7.195 MB / 1.155 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/1.171, allocations: 1.08 MB / 1.156 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/1.173, allocations: 0.5056 MB / 1.157 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00467/1.177, allocations: 2.996 MB / 1.159 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/1.177, allocations: 45.94 kB / 1.159 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=58): time 3.858e-06/1.177, allocations: 0 / 1.159 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58): time 0.005048/1.182, allocations: 1.727 MB / 1.161 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.182, allocations: 57.09 kB / 1.161 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/1.186, allocations: 2.635 MB / 1.164 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002099/1.187, allocations: 44.05 kB / 1.164 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009697/1.188, allocations: 1.057 MB / 1.165 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.188, allocations: 210.5 kB / 1.165 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006677/1.189, allocations: 447 kB / 1.165 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.189, allocations: 301.1 kB / 1.166 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/1.191, allocations: 1.153 MB / 1.167 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/1.193, allocations: 1.571 MB / 1.168 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004212/1.198, allocations: 2.461 MB / 1.171 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.198, allocations: 4 kB / 1.171 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006158/1.204, allocations: 3.049 MB / 1.174 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/1.204, allocations: 8 kB / 1.174 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/1.204, allocations: 8 kB / 1.174 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/1.204, allocations: 122.8 kB / 1.174 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/1.206, allocations: 347.5 kB / 1.174 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006409/1.207, allocations: 0.6147 MB / 1.175 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/1.209, allocations: 239.4 kB / 1.175 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/1.209, allocations: 99.95 kB / 1.175 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003049/1.213, allocations: 1.507 MB / 1.177 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002223/1.215, allocations: 1.381 MB / 1.178 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00356/1.218, allocations: 2.094 MB / 1.18 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.255e-06/1.218, allocations: 4 kB / 1.18 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005306/1.224, allocations: 2.682 MB / 1.183 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.224, allocations: 11.94 kB / 1.183 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.224, allocations: 8 kB / 1.183 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/1.224, allocations: 125.1 kB / 1.183 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.226, allocations: 327.5 kB / 1.183 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/1.23, allocations: 2.846 MB / 1.186 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/1.232, allocations: 200.5 kB / 1.186 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/1.233, allocations: 83.97 kB / 1.186 GB, free: 3.477 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.0004418/1.233, allocations: 253.8 kB / 1.186 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/1.234, allocations: 236.9 kB / 1.187 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/1.238, allocations: 1.601 MB / 1.188 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/1.238, allocations: 11.98 kB / 1.188 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/1.238, allocations: 0 / 1.188 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/1.238, allocations: 3.984 kB / 1.188 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006795/1.245, allocations: 3.142 MB / 1.191 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.245, allocations: 4 kB / 1.191 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009259/1.246, allocations: 164 kB / 1.191 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002535/1.246, allocations: 72.81 kB / 1.192 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.007e-05/1.246, allocations: 35.89 kB / 1.192 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004148/1.247, allocations: 0.5991 MB / 1.192 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.247, allocations: 7.984 kB / 1.192 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003828/1.251, allocations: 1.532 MB / 1.194 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.252, allocations: 441.5 kB / 1.194 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/1.252, allocations: 12 kB / 1.194 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.253, allocations: 79.92 kB / 1.194 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.253, allocations: 60.42 kB / 1.194 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.766e-05/1.254, allocations: 51.91 kB / 1.194 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002778/1.256, allocations: 1.753 MB / 1.196 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.256, allocations: 0 / 1.196 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0045/1.261, allocations: 1.248 MB / 1.197 GB, free: 8.031 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.002169/1.263, allocations: 0.7795 MB / 1.198 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007499/1.271, allocations: 3.525 MB / 1.201 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.271, allocations: 0 / 1.201 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.272, allocations: 0.5979 MB / 1.202 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005815/1.278, allocations: 1.238 MB / 1.203 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/1.286, allocations: 4.228 MB / 1.207 GB, free: 13.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.287, allocations: 1.726 MB / 1.209 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008755/1.288, allocations: 211.2 kB / 1.209 GB, free: 11.72 MB / 0.92 GB Notification: Performance of SimCode: time 6.11e-07/1.288, allocations: 0 / 1.209 GB, free: 11.72 MB / 0.92 GB Notification: Performance of Templates: time 0.07967/1.368, allocations: 55.09 MB / 1.263 GB, free: 4.941 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 -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