Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001569/0.001569, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001734/0.001734, allocations: 199.3 kB / 17.3 MB, free: 5.516 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.452/2.452, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.52 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2775, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.5183/0.7958, allocations: 58.57 MB / 1.084 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02828/0.8241, allocations: 19.93 MB / 1.103 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004406/0.8286, allocations: 88.78 kB / 1.103 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01731/0.8459, allocations: 9.824 MB / 1.113 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00814/0.8541, allocations: 2.863 MB / 1.116 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006085/0.8602, allocations: 2.331 MB / 1.118 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02166/0.8819, allocations: 14.2 MB / 1.132 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003202/0.8851, allocations: 1.754 MB / 1.134 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005631/0.8907, allocations: 2.021 MB / 1.136 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.8935, allocations: 1.524 MB / 1.137 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005537/0.894, allocations: 196.6 kB / 1.137 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006723/0.9008, allocations: 2.331 MB / 1.14 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.9021, allocations: 0.8685 MB / 1.14 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002445/0.9045, allocations: 1.398 MB / 1.142 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.9168, allocations: 4.588 MB / 1.146 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.9168, allocations: 4.938 kB / 1.146 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9168, allocations: 0 / 1.146 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001038/0.9169, allocations: 0 / 1.146 GB, free: 10.85 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.007348/0.9243, allocations: 3.221 MB / 1.149 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.9244, allocations: 10.69 kB / 1.149 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/0.93, allocations: 0.9404 MB / 1.15 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007706/0.9378, allocations: 3.466 MB / 1.154 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.589e-05/0.9379, allocations: 90.09 kB / 1.154 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.9381, allocations: 120.1 kB / 1.154 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.941, allocations: 1.527 MB / 1.155 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.9411, allocations: 2.75 kB / 1.155 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.9412, allocations: 40.38 kB / 1.156 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.9412, allocations: 27.62 kB / 1.156 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.9443, allocations: 1.331 MB / 1.157 GB, free: 4.004 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.01054/0.9548, allocations: 7.142 MB / 1.164 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.9575, allocations: 1.022 MB / 1.165 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.9587, allocations: 0.506 MB / 1.165 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004041/0.9627, allocations: 2.999 MB / 1.168 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.9628, allocations: 47.11 kB / 1.168 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=58): time 1.874e-06/0.9628, allocations: 3.938 kB / 1.168 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58): time 0.004565/0.9673, allocations: 1.7 MB / 1.17 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.9674, allocations: 55.97 kB / 1.17 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.9707, allocations: 2.635 MB / 1.173 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.9708, allocations: 45.7 kB / 1.173 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008741/0.9717, allocations: 1.058 MB / 1.174 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.9719, allocations: 206.1 kB / 1.174 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006214/0.9725, allocations: 446.9 kB / 1.174 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.9726, allocations: 305.1 kB / 1.175 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.9746, allocations: 1.153 MB / 1.176 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.9769, allocations: 1.555 MB / 1.177 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.9809, allocations: 2.466 MB / 1.18 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.981, allocations: 4 kB / 1.18 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005492/0.9865, allocations: 3.041 MB / 1.183 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.9865, allocations: 10.78 kB / 1.183 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.9865, allocations: 12 kB / 1.183 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.987, allocations: 104.8 kB / 1.183 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.9884, allocations: 347.5 kB / 1.183 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004949/0.9889, allocations: 0.6147 MB / 1.184 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.9909, allocations: 222.8 kB / 1.184 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.9911, allocations: 107.9 kB / 1.184 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002502/0.9936, allocations: 1.507 MB / 1.185 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001999/0.9956, allocations: 1.372 MB / 1.187 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003253/0.9989, allocations: 2.09 MB / 1.189 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.553e-06/0.9989, allocations: 4 kB / 1.189 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.00501/1.004, allocations: 2.678 MB / 1.191 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.004, allocations: 8 kB / 1.191 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/1.004, allocations: 11.94 kB / 1.191 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005205/1.004, allocations: 124.8 kB / 1.192 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.006, allocations: 331.5 kB / 1.192 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/1.01, allocations: 2.838 MB / 1.195 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/1.012, allocations: 186 kB / 1.195 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/1.012, allocations: 87.97 kB / 1.195 GB, free: 14.43 MB / 0.9044 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.0003775/1.013, allocations: 255.9 kB / 1.195 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/1.013, allocations: 232.9 kB / 1.195 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00385/1.017, allocations: 1.58 MB / 1.197 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.017, allocations: 11.98 kB / 1.197 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/1.017, allocations: 0 / 1.197 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/1.017, allocations: 7.984 kB / 1.197 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005957/1.023, allocations: 3.127 MB / 1.2 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.023, allocations: 3.938 kB / 1.2 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/1.024, allocations: 164 kB / 1.2 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/1.024, allocations: 68.81 kB / 1.2 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/1.024, allocations: 27.97 kB / 1.2 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004174/1.024, allocations: 0.603 MB / 1.201 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.024, allocations: 4.031 kB / 1.201 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/1.028, allocations: 1.529 MB / 1.202 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009153/1.029, allocations: 437.5 kB / 1.203 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/1.029, allocations: 16 kB / 1.203 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.03, allocations: 83.97 kB / 1.203 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.03, allocations: 56.44 kB / 1.203 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.03, allocations: 51.95 kB / 1.203 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002424/1.033, allocations: 1.749 MB / 1.205 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.033, allocations: 0 / 1.205 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003106/1.036, allocations: 1.248 MB / 1.206 GB, free: 3.016 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.001613/1.037, allocations: 0.7791 MB / 1.207 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006371/1.044, allocations: 3.472 MB / 1.21 GB, free: 14.81 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.044, allocations: 0 / 1.21 GB, free: 14.81 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00142/1.045, allocations: 0.5902 MB / 1.211 GB, free: 14.22 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004737/1.05, allocations: 1.234 MB / 1.212 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006908/1.057, allocations: 4.089 MB / 1.216 GB, free: 8.887 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/1.058, allocations: 1.74 MB / 1.218 GB, free: 7.109 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002607/1.061, allocations: 0.7013 MB / 1.218 GB, free: 6.406 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/1.062, allocations: 207.3 kB / 1.218 GB, free: 6.203 MB / 0.92 GB Notification: Performance of SimCode: time 2.655e-06/1.062, allocations: 0 / 1.218 GB, free: 6.203 MB / 0.92 GB Notification: Performance of Templates: time 0.08663/1.148, allocations: 53.42 MB / 1.271 GB, free: 1.406 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches