Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.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.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p|floMac.inlet.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") translateModel(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p|floMac.inlet.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 92.31 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.001382/0.001382, allocations: 179.4 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.289 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.61/2.61, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003819, allocations: 12.19 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.6991, allocations: 153.8 MB / 1.024 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 1.016/1.716, allocations: 306.5 MB / 1.323 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03189/1.747, allocations: 29.22 MB / 1.352 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003724/1.751, allocations: 71.09 kB / 1.352 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009445/1.761, allocations: 4.559 MB / 1.356 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00841/1.769, allocations: 2.845 MB / 1.359 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006339/1.776, allocations: 2.382 MB / 1.361 GB, free: 0 / 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.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01252/1.788, allocations: 9.004 MB / 1.37 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/1.791, allocations: 1.65 MB / 1.372 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005133/1.796, allocations: 1.953 MB / 1.374 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/1.8, allocations: 1.375 MB / 1.375 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004645/1.801, allocations: 74.25 kB / 1.375 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007793/1.808, allocations: 3.837 MB / 1.379 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/1.81, allocations: 0.623 MB / 1.379 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002165/1.812, allocations: 1.176 MB / 1.38 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005922/1.818, allocations: 4.126 MB / 1.384 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.818, allocations: 0 / 1.384 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/1.818, allocations: 0 / 1.384 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001257/1.818, allocations: 4 kB / 1.384 GB, free: 7.348 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.005729/1.824, allocations: 2.454 MB / 1.387 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.824, allocations: 13.86 kB / 1.387 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006265/1.83, allocations: 0.9925 MB / 1.388 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/1.84, allocations: 5.633 MB / 1.393 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004142/1.841, allocations: 171.8 kB / 1.394 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/1.841, allocations: 143 kB / 1.394 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/1.845, allocations: 1.622 MB / 1.395 GB, free: 260 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/1.845, allocations: 0 / 1.395 GB, free: 260 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/1.845, allocations: 56.67 kB / 1.395 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/1.845, allocations: 48.67 kB / 1.395 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/1.849, allocations: 1.389 MB / 1.397 GB, free: 15.52 MB / 1.014 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.01278/1.862, allocations: 7.691 MB / 1.404 GB, free: 8.227 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/1.865, allocations: 0.9497 MB / 1.405 GB, free: 7.234 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/1.866, allocations: 372.6 kB / 1.405 GB, free: 6.867 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003098/1.866, allocations: 200.6 kB / 1.406 GB, free: 6.641 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/1.866, allocations: 38.56 kB / 1.406 GB, free: 6.594 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001176/1.867, allocations: 170.7 kB / 1.406 GB, free: 6.426 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 3.677e-06/1.867, allocations: 0 / 1.406 GB, free: 6.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.003947/1.871, allocations: 1.135 MB / 1.407 GB, free: 5.281 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/1.872, allocations: 59.34 kB / 1.407 GB, free: 5.211 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/1.876, allocations: 2.162 MB / 1.409 GB, free: 3.027 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/1.876, allocations: 33.7 kB / 1.409 GB, free: 2.988 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009813/1.877, allocations: 0.9782 MB / 1.41 GB, free: 2.008 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/1.877, allocations: 145.9 kB / 1.41 GB, free: 1.867 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/1.877, allocations: 117.6 kB / 1.41 GB, free: 1.746 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.877, allocations: 349.9 kB / 1.411 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/1.879, allocations: 0.541 MB / 1.411 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/1.88, allocations: 0.8275 MB / 1.412 GB, free: 15.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/1.883, allocations: 1.247 MB / 1.413 GB, free: 14.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.883, allocations: 0 / 1.413 GB, free: 14.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003688/1.887, allocations: 1.58 MB / 1.415 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002661/1.887, allocations: 316.3 kB / 1.415 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/1.887, allocations: 8 kB / 1.415 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/1.887, allocations: 12 kB / 1.415 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.889, allocations: 267.5 kB / 1.415 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004598/1.889, allocations: 0.6151 MB / 1.416 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.891, allocations: 169.5 kB / 1.416 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/1.891, allocations: 43.98 kB / 1.416 GB, free: 11.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.891, allocations: 4 kB / 1.416 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003013/1.894, allocations: 1.351 MB / 1.418 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/1.894, allocations: 8 kB / 1.418 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.894, allocations: 15.92 kB / 1.418 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.895, allocations: 245.1 kB / 1.418 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/1.895, allocations: 18.52 kB / 1.418 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.897, allocations: 157.5 kB / 1.418 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/1.897, allocations: 43.98 kB / 1.418 GB, free: 9.754 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (107): * Single equations (assignments): 104 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001264/1.898, allocations: 0.6514 MB / 1.419 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/1.899, allocations: 201.4 kB / 1.419 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/1.902, allocations: 0.8621 MB / 1.42 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.902, allocations: 4 kB / 1.42 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.902, allocations: 0 / 1.42 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.902, allocations: 0 / 1.42 GB, free: 8.031 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.005757/1.907, allocations: 2.348 MB / 1.422 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.908, allocations: 4 kB / 1.422 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/1.908, allocations: 145.9 kB / 1.422 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/1.908, allocations: 4 kB / 1.422 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/1.908, allocations: 11.98 kB / 1.422 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003415/1.909, allocations: 0.6046 MB / 1.423 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.909, allocations: 0 / 1.423 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/1.911, allocations: 0.9624 MB / 1.424 GB, free: 3.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009807/1.912, allocations: 358.3 kB / 1.424 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/1.913, allocations: 16 kB / 1.424 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.914, allocations: 123.8 kB / 1.424 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/1.914, allocations: 30.88 kB / 1.424 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/1.915, allocations: 23.98 kB / 1.424 GB, free: 3.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00286/1.917, allocations: 1.48 MB / 1.426 GB, free: 1.797 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.61e-07/1.917, allocations: 0 / 1.426 GB, free: 1.797 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002956/1.92, allocations: 0.8967 MB / 1.426 GB, free: 0.8984 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/1.921, allocations: 455.8 kB / 1.427 GB, free: 480 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004684/1.926, allocations: 1.785 MB / 1.429 GB, free: 14.74 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.926, allocations: 1.25 kB / 1.429 GB, free: 14.74 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/1.927, allocations: 351 kB / 1.429 GB, free: 14.41 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006045/1.933, allocations: 1.082 MB / 1.43 GB, free: 13.34 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.944, allocations: 4.43 MB / 1.434 GB, free: 8.859 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/1.945, allocations: 1.534 MB / 1.436 GB, free: 7.293 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005895/1.946, allocations: 143.4 kB / 1.436 GB, free: 7.152 MB / 1.045 GB Notification: Performance of SimCode: time 8.21e-07/1.946, allocations: 0 / 1.436 GB, free: 7.152 MB / 1.045 GB Notification: Performance of Templates: time 0.06904/2.015, allocations: 45.88 MB / 1.481 GB, free: 9.5 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches