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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001162/0.001162, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009175/0.009175, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 15.81 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3132, allocations: 159.6 MB / 1.059 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05326/0.3665, allocations: 57.07 MB / 1.114 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03016/0.3967, allocations: 19.85 MB / 1.134 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/0.4003, allocations: 71.56 kB / 1.134 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01669/0.4171, allocations: 9.795 MB / 1.143 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008424/0.4255, allocations: 2.659 MB / 1.146 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005856/0.4314, allocations: 2.087 MB / 1.148 GB, free: 9.742 MB / 0.9044 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0238/0.4552, allocations: 16.25 MB / 1.164 GB, free: 9.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/0.4592, allocations: 1.47 MB / 1.165 GB, free: 7.949 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005108/0.4644, allocations: 1.707 MB / 1.167 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.4677, allocations: 1.497 MB / 1.168 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007928/0.4685, allocations: 84 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005633/0.4742, allocations: 2.226 MB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.4755, allocations: 0.7589 MB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.4775, allocations: 1.272 MB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006715/0.4842, allocations: 4.423 MB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4843, allocations: 0 / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4843, allocations: 0 / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.011e-05/0.4844, allocations: 0 / 1.177 GB, free: 11.93 MB / 0.9356 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.005057/0.4894, allocations: 2.756 MB / 1.18 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4895, allocations: 16.03 kB / 1.18 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005615/0.4951, allocations: 1.007 MB / 1.181 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00823/0.5034, allocations: 3.465 MB / 1.184 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.5036, allocations: 94.08 kB / 1.184 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.5039, allocations: 120 kB / 1.184 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.5072, allocations: 1.528 MB / 1.186 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.5073, allocations: 0 / 1.186 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.5074, allocations: 44 kB / 1.186 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.5075, allocations: 35.88 kB / 1.186 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.5109, allocations: 1.37 MB / 1.187 GB, free: 1.273 MB / 0.9356 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.01056/0.5215, allocations: 7.038 MB / 1.194 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/0.5249, allocations: 1.132 MB / 1.195 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.5263, allocations: 0.5276 MB / 1.196 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00475/0.531, allocations: 3.036 MB / 1.199 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.5311, allocations: 47.11 kB / 1.199 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009133/0.532, allocations: 102.9 kB / 1.199 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 3.948e-06/0.532, allocations: 0 / 1.199 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.005418/0.5374, allocations: 1.813 MB / 1.201 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.5375, allocations: 55.97 kB / 1.201 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005023/0.5425, allocations: 2.608 MB / 1.203 GB, free: 124 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.5427, allocations: 45.69 kB / 1.203 GB, free: 72 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009308/0.5436, allocations: 1.056 MB / 1.204 GB, free: 15 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.5439, allocations: 220.9 kB / 1.204 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.5441, allocations: 201.6 kB / 1.205 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.5442, allocations: 305.1 kB / 1.205 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/0.5464, allocations: 1.167 MB / 1.206 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/0.5489, allocations: 1.58 MB / 1.208 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004283/0.5532, allocations: 2.519 MB / 1.21 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.5532, allocations: 4 kB / 1.21 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005829/0.5591, allocations: 3.088 MB / 1.213 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.5593, allocations: 344.9 kB / 1.213 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.5594, allocations: 12 kB / 1.213 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/0.5599, allocations: 116.8 kB / 1.214 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.5614, allocations: 355.5 kB / 1.214 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005289/0.5619, allocations: 0.6185 MB / 1.215 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.564, allocations: 167.9 kB / 1.215 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.5642, allocations: 99.95 kB / 1.215 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.5642, allocations: 7.938 kB / 1.215 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004716/0.5689, allocations: 2.472 MB / 1.217 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.569, allocations: 8 kB / 1.217 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.5695, allocations: 133.1 kB / 1.217 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.5709, allocations: 339.5 kB / 1.218 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/0.5753, allocations: 2.626 MB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.5774, allocations: 163.1 kB / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.5777, allocations: 91.89 kB / 1.22 GB, free: 13.76 MB / 0.9825 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 (166): * Single equations (assignments): 161 * 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.001513/0.5792, allocations: 0.6997 MB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005178/0.5797, allocations: 232.9 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/0.5842, allocations: 1.643 MB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.5842, allocations: 15.98 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5842, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.5842, allocations: 7.922 kB / 1.223 GB, free: 11.14 MB / 0.9825 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.00703/0.5913, allocations: 3.194 MB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.5913, allocations: 4 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009684/0.5923, allocations: 172 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.5925, allocations: 72.72 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/0.5926, allocations: 27.97 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004119/0.593, allocations: 0.5952 MB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5931, allocations: 8.094 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.5967, allocations: 1.565 MB / 1.228 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009835/0.5977, allocations: 437.6 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004583/0.5981, allocations: 12 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.5997, allocations: 119.9 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.5998, allocations: 60.38 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.5999, allocations: 55.95 kB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003243/0.6032, allocations: 1.737 MB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/0.6032, allocations: 0 / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005527/0.6087, allocations: 1.24 MB / 1.232 GB, free: 1.668 MB / 0.9825 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 (71): * Single equations (assignments): 62 * 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.002847/0.6116, allocations: 0.7596 MB / 1.233 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007827/0.6195, allocations: 3.539 MB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6195, allocations: 0 / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.6212, allocations: 0.6092 MB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006633/0.6278, allocations: 1.138 MB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008334/0.6362, allocations: 4.923 MB / 1.243 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/0.6381, allocations: 1.737 MB / 1.244 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003775/0.6419, allocations: 0.7178 MB / 1.245 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007311/0.6426, allocations: 207.3 kB / 1.245 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/0.6426, allocations: 0 / 1.245 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of Templates: time 0.6475/1.29, allocations: 51.28 MB / 1.295 GB, free: 161.3 MB / 0.9981 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 -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/jenkins/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