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.001257/0.001257, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.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.633/2.633, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003922, allocations: 8 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7269, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.06246/0.7894, allocations: 57.07 MB / 1.079 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03199/0.8214, allocations: 19.85 MB / 1.099 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004324/0.8258, allocations: 75.5 kB / 1.099 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01757/0.8434, allocations: 9.8 MB / 1.108 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009114/0.8526, allocations: 2.646 MB / 1.111 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006706/0.8593, allocations: 2.104 MB / 1.113 GB, free: 4.086 MB / 0.8575 GB [/var/lib/jenkins1/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.02332/0.8826, allocations: 16.25 MB / 1.129 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003755/0.8864, allocations: 1.474 MB / 1.13 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004907/0.8913, allocations: 1.703 MB / 1.132 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003497/0.8949, allocations: 1.485 MB / 1.133 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008317/0.8957, allocations: 87.88 kB / 1.134 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005907/0.9017, allocations: 2.218 MB / 1.136 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.9032, allocations: 0.7706 MB / 1.136 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002942/0.9062, allocations: 1.268 MB / 1.138 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006118/0.9123, allocations: 3.425 MB / 1.141 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9124, allocations: 4 kB / 1.141 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.797e-06/0.9124, allocations: 0 / 1.141 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001607/0.9126, allocations: 3.938 kB / 1.141 GB, free: 7.289 MB / 0.8887 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.006689/0.9193, allocations: 2.76 MB / 1.144 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.9193, allocations: 8.031 kB / 1.144 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006107/0.9255, allocations: 1.003 MB / 1.145 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009529/0.935, allocations: 3.463 MB / 1.148 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.9353, allocations: 106 kB / 1.148 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005042/0.9358, allocations: 116 kB / 1.148 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/0.9401, allocations: 1.525 MB / 1.15 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.9402, allocations: 4 kB / 1.15 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.9404, allocations: 44 kB / 1.15 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.9404, allocations: 24 kB / 1.15 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00394/0.9444, allocations: 1.37 MB / 1.151 GB, free: 12.64 MB / 0.9044 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.01262/0.957, allocations: 7.039 MB / 1.158 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.9605, allocations: 1.127 MB / 1.159 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.9619, allocations: 0.5295 MB / 1.16 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005205/0.9672, allocations: 3.035 MB / 1.163 GB, free: 180 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.9672, allocations: 43.11 kB / 1.163 GB, free: 128 kB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009804/0.9682, allocations: 98.95 kB / 1.163 GB, free: 28 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 5.45e-06/0.9682, allocations: 3.938 kB / 1.163 GB, free: 24 kB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.005704/0.974, allocations: 1.817 MB / 1.165 GB, free: 14.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.974, allocations: 63.91 kB / 1.165 GB, free: 14.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005217/0.9793, allocations: 2.604 MB / 1.167 GB, free: 11.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.9796, allocations: 41.7 kB / 1.167 GB, free: 11.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.9808, allocations: 1.056 MB / 1.168 GB, free: 10.37 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000406/0.9812, allocations: 217 kB / 1.169 GB, free: 10.15 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/0.9816, allocations: 209.6 kB / 1.169 GB, free: 9.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9818, allocations: 305.1 kB / 1.169 GB, free: 9.641 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/0.9842, allocations: 1.16 MB / 1.17 GB, free: 8.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.9869, allocations: 1.584 MB / 1.172 GB, free: 6.742 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004512/0.9915, allocations: 2.512 MB / 1.174 GB, free: 4.117 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/0.9915, allocations: 4 kB / 1.174 GB, free: 4.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006481/0.998, allocations: 3.1 MB / 1.177 GB, free: 1.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.9983, allocations: 338.7 kB / 1.177 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.9984, allocations: 12 kB / 1.177 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/0.9988, allocations: 108.7 kB / 1.178 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/1, allocations: 363.5 kB / 1.178 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006497/1.001, allocations: 0.6185 MB / 1.179 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/1.003, allocations: 163.3 kB / 1.179 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/1.004, allocations: 103.9 kB / 1.179 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.004, allocations: 4 kB / 1.179 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005123/1.009, allocations: 2.48 MB / 1.181 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/1.009, allocations: 8 kB / 1.181 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/1.01, allocations: 128.7 kB / 1.181 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.011, allocations: 335.7 kB / 1.182 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004373/1.015, allocations: 2.634 MB / 1.184 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/1.018, allocations: 164.3 kB / 1.184 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/1.018, allocations: 95.89 kB / 1.185 GB, free: 9.113 MB / 0.9356 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.001669/1.02, allocations: 0.6998 MB / 1.185 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006392/1.02, allocations: 232.9 kB / 1.185 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004681/1.025, allocations: 1.646 MB / 1.187 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/1.025, allocations: 19.97 kB / 1.187 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.025, allocations: 0 / 1.187 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.025, allocations: 3.984 kB / 1.187 GB, free: 6.488 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 postOpt removeSimpleEquations (simulation): time 0.007859/1.033, allocations: 3.182 MB / 1.19 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.033, allocations: 4.188 kB / 1.19 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009419/1.034, allocations: 179.7 kB / 1.19 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/1.034, allocations: 76.66 kB / 1.19 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.892e-05/1.034, allocations: 31.97 kB / 1.19 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004346/1.035, allocations: 0.5953 MB / 1.191 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.035, allocations: 4 kB / 1.191 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/1.039, allocations: 1.569 MB / 1.193 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.04, allocations: 433.6 kB / 1.193 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005649/1.04, allocations: 20 kB / 1.193 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/1.042, allocations: 111.9 kB / 1.193 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/1.042, allocations: 56.44 kB / 1.193 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.042, allocations: 51.95 kB / 1.193 GB, free: 4 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003396/1.045, allocations: 1.73 MB / 1.195 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.045, allocations: 4 kB / 1.195 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00447/1.05, allocations: 1.248 MB / 1.196 GB, free: 13.02 MB / 0.9512 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.002181/1.052, allocations: 0.7553 MB / 1.197 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007686/1.06, allocations: 3.535 MB / 1.2 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/1.06, allocations: 3.938 kB / 1.2 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/1.062, allocations: 0.6051 MB / 1.201 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006945/1.069, allocations: 1.139 MB / 1.202 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009054/1.078, allocations: 5.003 MB / 1.207 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/1.08, allocations: 1.705 MB / 1.209 GB, free: 196 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009638/1.081, allocations: 215.4 kB / 1.209 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of SimCode: time 1.002e-06/1.081, allocations: 0 / 1.209 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.6506/1.731, allocations: 54.32 MB / 1.262 GB, free: 217.3 MB / 0.9981 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