Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009448, allocations: 91.92 kB / 16.02 MB, free: 80 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.001239/0.00124, allocations: 177 kB / 16.92 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.541/1.541, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.924/2.924, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 11.66 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1109/0.4462, allocations: 103.9 MB / 1.161 GB, free: 12.78 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.05463/0.5009, allocations: 35.2 MB / 1.195 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007635/0.5086, allocations: 139.1 kB / 1.195 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.03149/0.5401, allocations: 18.64 MB / 1.213 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01737/0.5575, allocations: 4.992 MB / 1.218 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01118/0.5687, allocations: 3.735 MB / 1.222 GB, free: 13.95 MB / 0.9825 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.0002, 0.0004, 0.0005999999999999999, 0.0008, 0.0009000000000000001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.7046/1.273, allocations: 36.06 MB / 1.257 GB, free: 43.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007219/1.281, allocations: 3.004 MB / 1.26 GB, free: 43.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/1.293, allocations: 3.481 MB / 1.264 GB, free: 43.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/1.303, allocations: 3.288 MB / 1.267 GB, free: 42.99 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002523/1.305, allocations: 194.3 kB / 1.267 GB, free: 42.99 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01355/1.319, allocations: 2.727 MB / 1.27 GB, free: 42.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004803/1.324, allocations: 1.659 MB / 1.271 GB, free: 42.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008862/1.333, allocations: 2.753 MB / 1.274 GB, free: 41.8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01497/1.348, allocations: 7.156 MB / 1.281 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.348, allocations: 1 kB / 1.281 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.687e-06/1.348, allocations: 0 / 1.281 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003414/1.348, allocations: 5.156 kB / 1.281 GB, free: 41.43 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01822/1.366, allocations: 5.41 MB / 1.286 GB, free: 38.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.367, allocations: 15.38 kB / 1.286 GB, free: 38.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01811/1.385, allocations: 2.045 MB / 1.288 GB, free: 38.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02385/1.409, allocations: 7.405 MB / 1.295 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003776/1.409, allocations: 205.2 kB / 1.296 GB, free: 37.01 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/1.41, allocations: 251 kB / 1.296 GB, free: 37.01 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008547/1.419, allocations: 3.426 MB / 1.299 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/1.419, allocations: 0 / 1.299 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/1.419, allocations: 89.66 kB / 1.299 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/1.419, allocations: 54.28 kB / 1.299 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006908/1.426, allocations: 2.638 MB / 1.302 GB, free: 36.6 MB / 0.9981 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.02636/1.453, allocations: 15.02 MB / 1.317 GB, free: 30.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006932/1.459, allocations: 2.518 MB / 1.319 GB, free: 30.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002951/1.462, allocations: 1.095 MB / 1.32 GB, free: 30.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/1.476, allocations: 5.476 MB / 1.325 GB, free: 27.15 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/1.476, allocations: 48.5 kB / 1.326 GB, free: 27.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004104/1.48, allocations: 250.5 kB / 1.326 GB, free: 26.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=119): time 1.678e-05/1.48, allocations: 0 / 1.326 GB, free: 26.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119): time 0.01429/1.495, allocations: 4.366 MB / 1.33 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/1.495, allocations: 65.59 kB / 1.33 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00931/1.504, allocations: 5.624 MB / 1.336 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007682/1.505, allocations: 59.8 kB / 1.336 GB, free: 24.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.507, allocations: 2.273 MB / 1.338 GB, free: 23.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000743/1.508, allocations: 436 kB / 1.338 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006765/1.508, allocations: 438.2 kB / 1.339 GB, free: 22.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.398e-05/1.508, allocations: 305.1 kB / 1.339 GB, free: 22.65 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00474/1.513, allocations: 2.922 MB / 1.342 GB, free: 22.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005505/1.519, allocations: 3.829 MB / 1.346 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009971/1.529, allocations: 6.259 MB / 1.352 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-05/1.529, allocations: 3.469 kB / 1.352 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01603/1.545, allocations: 7.902 MB / 1.359 GB, free: 17.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000305/1.545, allocations: 0.639 MB / 1.36 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/1.545, allocations: 21.06 kB / 1.36 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/1.547, allocations: 0.9692 MB / 1.361 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/1.55, allocations: 0.7002 MB / 1.362 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/1.552, allocations: 2.963 MB / 1.365 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/1.558, allocations: 332.2 kB / 1.365 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007313/1.559, allocations: 223.9 kB / 1.365 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.559, allocations: 4 kB / 1.365 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01085/1.57, allocations: 6.52 MB / 1.371 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-05/1.57, allocations: 20 kB / 1.371 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002918/1.573, allocations: 1.072 MB / 1.373 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/1.576, allocations: 0.6577 MB / 1.373 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/1.595, allocations: 14.73 MB / 1.388 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005588/1.601, allocations: 339.4 kB / 1.388 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008322/1.602, allocations: 187.9 kB / 1.388 GB, free: 4.586 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (343): * Single equations (assignments): 331 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.003915/1.606, allocations: 1.317 MB / 1.389 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/1.607, allocations: 493.3 kB / 1.39 GB, free: 2.812 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009834/1.617, allocations: 3.629 MB / 1.393 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/1.617, allocations: 15.98 kB / 1.393 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.617, allocations: 0 / 1.393 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/1.617, allocations: 7.969 kB / 1.393 GB, free: 15.16 MB / 1.029 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.01836/1.636, allocations: 6.627 MB / 1.4 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.636, allocations: 4.125 kB / 1.4 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.638, allocations: 324 kB / 1.4 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/1.639, allocations: 460.7 kB / 1.401 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/1.639, allocations: 55.94 kB / 1.401 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/1.641, allocations: 2.8 MB / 1.403 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.641, allocations: 256 / 1.403 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00907/1.651, allocations: 3.332 MB / 1.407 GB, free: 1.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003121/1.654, allocations: 0.8026 MB / 1.407 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001748/1.655, allocations: 27.94 kB / 1.407 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004403/1.66, allocations: 275.4 kB / 1.408 GB, free: 312 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/1.66, allocations: 93.17 kB / 1.408 GB, free: 216 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003568/1.661, allocations: 95.92 kB / 1.408 GB, free: 120 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.008649/1.669, allocations: 3.708 MB / 1.412 GB, free: 12.42 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.5e-07/1.669, allocations: 0 / 1.412 GB, free: 12.42 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.01227/1.682, allocations: 2.426 MB / 1.414 GB, free: 9.988 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (125): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003265/1.685, allocations: 0.8943 MB / 1.415 GB, free: 9.164 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01872/1.704, allocations: 8.454 MB / 1.423 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.704, allocations: 0.8125 kB / 1.423 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003807/1.707, allocations: 1.247 MB / 1.424 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01677/1.724, allocations: 2.406 MB / 1.427 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/1.746, allocations: 10.5 MB / 1.437 GB, free: 2.676 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004549/1.751, allocations: 2.911 MB / 1.44 GB, free: 15.74 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002083/1.753, allocations: 415.2 kB / 1.44 GB, free: 15.33 MB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/1.753, allocations: 0 / 1.44 GB, free: 15.33 MB / 1.076 GB Notification: Performance of Templates: time 0.2558/2.009, allocations: 176 MB / 1.612 GB, free: 196 kB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches