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.001107/0.001107, allocations: 99.58 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.001454/0.001454, allocations: 188 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 462.6 MB / 0.737 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003689, allocations: 13.14 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3404, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.07027/0.4107, allocations: 57.06 MB / 1.115 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03192/0.4426, allocations: 19.85 MB / 1.134 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003949/0.4466, allocations: 71.56 kB / 1.134 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01763/0.4643, allocations: 9.798 MB / 1.144 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.4746, allocations: 2.649 MB / 1.147 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0064/0.481, allocations: 2.09 MB / 1.149 GB, free: 9.238 MB / 0.9044 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.02334/0.5044, allocations: 16.25 MB / 1.165 GB, free: 8.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/0.508, allocations: 1.47 MB / 1.166 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.5126, allocations: 1.699 MB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.5156, allocations: 1.505 MB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007067/0.5164, allocations: 80 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005608/0.522, allocations: 2.218 MB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.5234, allocations: 0.7628 MB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002568/0.526, allocations: 1.272 MB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005587/0.5316, allocations: 3.417 MB / 1.177 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.5316, allocations: 4 kB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5316, allocations: 3.938 kB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.718e-05/0.5317, allocations: 0 / 1.177 GB, free: 12.44 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.006935/0.5387, allocations: 2.756 MB / 1.179 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5388, allocations: 12.03 kB / 1.179 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005794/0.5446, allocations: 1.003 MB / 1.18 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008207/0.5528, allocations: 3.472 MB / 1.184 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.553, allocations: 106 kB / 1.184 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/0.5534, allocations: 120 kB / 1.184 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/0.5566, allocations: 1.521 MB / 1.185 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.5567, allocations: 4 kB / 1.185 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.5568, allocations: 40 kB / 1.186 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.5568, allocations: 28 kB / 1.186 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/0.5603, allocations: 1.374 MB / 1.187 GB, free: 1.781 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.01124/0.5716, allocations: 7.038 MB / 1.194 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.5751, allocations: 1.137 MB / 1.195 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.5765, allocations: 0.5301 MB / 1.195 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004995/0.5815, allocations: 3.039 MB / 1.198 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.5816, allocations: 39.12 kB / 1.198 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009304/0.5825, allocations: 114.8 kB / 1.198 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 5.59e-06/0.5825, allocations: 0 / 1.198 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.005635/0.5882, allocations: 1.809 MB / 1.2 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.5883, allocations: 59.91 kB / 1.2 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/0.5932, allocations: 2.608 MB / 1.203 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.5935, allocations: 45.7 kB / 1.203 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.5946, allocations: 1.048 MB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.5949, allocations: 224.9 kB / 1.204 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.5953, allocations: 205.6 kB / 1.204 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5954, allocations: 301.1 kB / 1.205 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/0.5977, allocations: 1.167 MB / 1.206 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002548/0.6003, allocations: 1.586 MB / 1.207 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004234/0.6045, allocations: 2.508 MB / 1.21 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.6045, allocations: 4 kB / 1.21 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006015/0.6105, allocations: 3.092 MB / 1.213 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.6109, allocations: 345 kB / 1.213 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.6109, allocations: 8 kB / 1.213 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.6114, allocations: 116.7 kB / 1.213 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.6129, allocations: 351.5 kB / 1.214 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00057/0.6135, allocations: 0.6224 MB / 1.214 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.6157, allocations: 167.2 kB / 1.214 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.6159, allocations: 99.95 kB / 1.214 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.6159, allocations: 4 kB / 1.214 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005167/0.6211, allocations: 2.476 MB / 1.217 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.6212, allocations: 8 kB / 1.217 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/0.6218, allocations: 128.7 kB / 1.217 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.6231, allocations: 339.6 kB / 1.217 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004498/0.6277, allocations: 2.638 MB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.6298, allocations: 155.3 kB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.63, allocations: 83.91 kB / 1.22 GB, free: 14.27 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.001674/0.6317, allocations: 0.7153 MB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006584/0.6324, allocations: 232.9 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/0.6372, allocations: 1.639 MB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/0.6372, allocations: 15.98 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6372, allocations: 0 / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6373, allocations: 3.984 kB / 1.223 GB, free: 11.65 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.008096/0.6454, allocations: 3.19 MB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.6454, allocations: 0 / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009527/0.6464, allocations: 176 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.6467, allocations: 76.7 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/0.6467, allocations: 31.97 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000454/0.6472, allocations: 0.5952 MB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6472, allocations: 4.031 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004/0.6512, allocations: 1.565 MB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.6525, allocations: 437.6 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006012/0.6531, allocations: 12 kB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6548, allocations: 119.8 kB / 1.229 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.6549, allocations: 56.44 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.6551, allocations: 56.02 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003624/0.6587, allocations: 1.726 MB / 1.23 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.533e-06/0.6587, allocations: 4 kB / 1.23 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004676/0.6634, allocations: 1.256 MB / 1.232 GB, free: 2.168 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.002142/0.6656, allocations: 0.7558 MB / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007608/0.6732, allocations: 3.539 MB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.6732, allocations: 0 / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.6749, allocations: 0.605 MB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006976/0.6819, allocations: 1.129 MB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009388/0.6914, allocations: 4.983 MB / 1.242 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/0.6934, allocations: 1.717 MB / 1.244 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009578/0.6943, allocations: 215.3 kB / 1.244 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of SimCode: time 1.372e-06/0.6944, allocations: 0 / 1.244 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of Templates: time 0.6761/1.37, allocations: 54.35 MB / 1.297 GB, free: 157 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/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