Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.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.HeaterFan,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",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,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",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 92.16 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.001504/0.001504, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.512/1.512, allocations: 223.3 MB / 241 MB, free: 5.25 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.713/2.713, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004632, allocations: 11.98 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7715/0.772, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.004/1.776, allocations: 306.7 MB / 1.323 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03235/1.808, allocations: 29.22 MB / 1.352 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004239/1.812, allocations: 69.5 kB / 1.352 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01058/1.823, allocations: 4.555 MB / 1.356 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009134/1.832, allocations: 2.839 MB / 1.359 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006698/1.839, allocations: 2.385 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.01362/1.853, allocations: 9.061 MB / 1.37 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/1.856, allocations: 1.636 MB / 1.372 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005054/1.861, allocations: 1.947 MB / 1.374 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/1.864, allocations: 1.365 MB / 1.375 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004211/1.865, allocations: 78.91 kB / 1.375 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0079/1.872, allocations: 3.831 MB / 1.379 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001031/1.874, allocations: 0.6272 MB / 1.379 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/1.876, allocations: 1.173 MB / 1.381 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0059/1.882, allocations: 4.127 MB / 1.385 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.882, allocations: 0 / 1.385 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/1.882, allocations: 0 / 1.385 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.599e-05/1.882, allocations: 4 kB / 1.385 GB, free: 7.551 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00498/1.887, allocations: 2.442 MB / 1.387 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.887, allocations: 13.48 kB / 1.387 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006223/1.893, allocations: 0.9965 MB / 1.388 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/1.904, allocations: 5.63 MB / 1.393 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/1.904, allocations: 167.6 kB / 1.394 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/1.904, allocations: 143.3 kB / 1.394 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/1.908, allocations: 1.603 MB / 1.395 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.908, allocations: 6.406 kB / 1.395 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/1.908, allocations: 49.41 kB / 1.395 GB, free: 452 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/1.908, allocations: 53.31 kB / 1.395 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/1.911, allocations: 1.381 MB / 1.397 GB, free: 15.75 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.01163/1.923, allocations: 7.531 MB / 1.404 GB, free: 8.562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.925, allocations: 0.6581 MB / 1.405 GB, free: 7.883 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/1.925, allocations: 274 kB / 1.405 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003106/1.926, allocations: 190.2 kB / 1.405 GB, free: 7.391 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.926, allocations: 38.56 kB / 1.405 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009278/1.927, allocations: 101.2 kB / 1.405 GB, free: 7.246 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 3.096e-06/1.927, allocations: 4 kB / 1.405 GB, free: 7.242 MB / 1.014 GB Notification: Performance of matching and sorting (n=36): time 0.002876/1.93, allocations: 1.084 MB / 1.406 GB, free: 6.117 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.93, allocations: 55.41 kB / 1.406 GB, free: 6.051 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/1.933, allocations: 2.36 MB / 1.409 GB, free: 3.672 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.933, allocations: 29.7 kB / 1.409 GB, free: 3.637 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008909/1.934, allocations: 0.9639 MB / 1.41 GB, free: 2.668 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/1.935, allocations: 142 kB / 1.41 GB, free: 2.531 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/1.935, allocations: 117.6 kB / 1.41 GB, free: 2.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.935, allocations: 349.9 kB / 1.41 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/1.936, allocations: 0.5371 MB / 1.411 GB, free: 1.527 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/1.938, allocations: 0.8071 MB / 1.412 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/1.94, allocations: 1.158 MB / 1.413 GB, free: 15.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.94, allocations: 4.875 kB / 1.413 GB, free: 15.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003681/1.943, allocations: 1.686 MB / 1.414 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/1.944, allocations: 311.4 kB / 1.415 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/1.944, allocations: 8 kB / 1.415 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/1.944, allocations: 36.84 kB / 1.415 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.945, allocations: 245 kB / 1.415 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/1.946, allocations: 1.408 MB / 1.416 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.949, allocations: 218.1 kB / 1.417 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/1.949, allocations: 51.98 kB / 1.417 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/1.949, allocations: 8 kB / 1.417 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003026/1.952, allocations: 1.441 MB / 1.418 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.952, allocations: 12.31 kB / 1.418 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.825e-05/1.952, allocations: 40.84 kB / 1.418 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.953, allocations: 230.5 kB / 1.418 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/1.954, allocations: 1.412 MB / 1.42 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.956, allocations: 188.4 kB / 1.42 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/1.956, allocations: 47.98 kB / 1.42 GB, free: 7.773 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 (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001408/1.958, allocations: 0.6492 MB / 1.421 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005186/1.958, allocations: 201.4 kB / 1.421 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/1.96, allocations: 0.8009 MB / 1.422 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.96, allocations: 4 kB / 1.422 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.96, allocations: 0 / 1.422 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.96, allocations: 4 kB / 1.422 GB, free: 6.082 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.004948/1.965, allocations: 2.205 MB / 1.424 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.965, allocations: 4 kB / 1.424 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/1.966, allocations: 86.09 kB / 1.424 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/1.966, allocations: 32.78 kB / 1.424 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/1.966, allocations: 12.58 kB / 1.424 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/1.967, allocations: 1.401 MB / 1.425 GB, free: 2.137 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.967, allocations: 2.438 kB / 1.425 GB, free: 2.137 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/1.969, allocations: 0.9091 MB / 1.426 GB, free: 1.172 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009508/1.97, allocations: 358.3 kB / 1.426 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/1.971, allocations: 15.92 kB / 1.426 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.972, allocations: 115.8 kB / 1.427 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/1.972, allocations: 18.03 kB / 1.427 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/1.972, allocations: 19.98 kB / 1.427 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003088/1.975, allocations: 1.642 MB / 1.428 GB, free: 14.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.11e-07/1.975, allocations: 4 kB / 1.428 GB, free: 14.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002891/1.978, allocations: 0.9047 MB / 1.429 GB, free: 14.07 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/1.979, allocations: 464.3 kB / 1.429 GB, free: 13.64 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004349/1.983, allocations: 1.872 MB / 1.431 GB, free: 11.79 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.983, allocations: 4 kB / 1.431 GB, free: 11.79 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007829/1.984, allocations: 364.9 kB / 1.432 GB, free: 11.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006327/1.99, allocations: 1.152 MB / 1.433 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00722/1.998, allocations: 4.076 MB / 1.437 GB, free: 6.168 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/1.999, allocations: 1.541 MB / 1.438 GB, free: 4.594 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000608/2, allocations: 147.4 kB / 1.438 GB, free: 4.449 MB / 1.045 GB Notification: Performance of SimCode: time 1.062e-06/2, allocations: 0 / 1.438 GB, free: 4.449 MB / 1.045 GB Notification: Performance of Templates: time 0.07558/2.075, allocations: 46.68 MB / 1.484 GB, free: 6.004 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches