Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001094/0.0011, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009342/0.009343, allocations: 170.3 kB / 16.27 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.000479, allocations: 9.094 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4242, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 1.202/1.626, allocations: 306.6 MB / 1.358 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03742/1.664, allocations: 29.22 MB / 1.387 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005293/1.669, allocations: 69.22 kB / 1.387 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01108/1.68, allocations: 4.556 MB / 1.391 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/1.69, allocations: 2.841 MB / 1.394 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007344/1.698, allocations: 2.388 MB / 1.396 GB, free: 13.93 MB / 1.014 GB [/var/lib/jenkins/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.01562/1.713, allocations: 8.978 MB / 1.405 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003737/1.717, allocations: 1.639 MB / 1.407 GB, free: 9.445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006135/1.723, allocations: 1.953 MB / 1.408 GB, free: 8.465 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/1.727, allocations: 1.369 MB / 1.41 GB, free: 7.805 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004918/1.728, allocations: 72.59 kB / 1.41 GB, free: 7.805 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008619/1.736, allocations: 3.839 MB / 1.414 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/1.738, allocations: 0.6299 MB / 1.414 GB, free: 5.543 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002256/1.74, allocations: 1.173 MB / 1.415 GB, free: 4.777 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009911/1.75, allocations: 5.321 MB / 1.421 GB, free: 1.391 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.75, allocations: 0 / 1.421 GB, free: 1.391 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.923e-06/1.75, allocations: 0 / 1.421 GB, free: 1.391 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.519e-05/1.75, allocations: 0 / 1.421 GB, free: 1.391 MB / 1.014 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.005169/1.755, allocations: 2.458 MB / 1.423 GB, free: 15.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.755, allocations: 6.312 kB / 1.423 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006283/1.761, allocations: 0.9911 MB / 1.424 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/1.772, allocations: 5.643 MB / 1.429 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004107/1.773, allocations: 170.5 kB / 1.43 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/1.773, allocations: 136 kB / 1.43 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/1.777, allocations: 1.627 MB / 1.431 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/1.777, allocations: 3.984 kB / 1.431 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/1.777, allocations: 52 kB / 1.431 GB, free: 9.066 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-05/1.777, allocations: 46.55 kB / 1.431 GB, free: 9.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/1.78, allocations: 1.388 MB / 1.433 GB, free: 7.625 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 preOpt removeSimpleEquations (simulation): time 0.01194/1.792, allocations: 7.69 MB / 1.44 GB, free: 15.46 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/1.796, allocations: 0.958 MB / 1.441 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/1.798, allocations: 368.7 kB / 1.442 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/1.798, allocations: 196.3 kB / 1.442 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.798, allocations: 42.56 kB / 1.442 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00157/1.8, allocations: 166.7 kB / 1.442 GB, free: 13.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 2.895e-06/1.8, allocations: 0 / 1.442 GB, free: 13.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.00523/1.805, allocations: 1.137 MB / 1.443 GB, free: 12.51 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/1.805, allocations: 55.41 kB / 1.443 GB, free: 12.45 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/1.809, allocations: 2.16 MB / 1.445 GB, free: 10.26 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.81, allocations: 45.62 kB / 1.445 GB, free: 10.21 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/1.811, allocations: 0.9744 MB / 1.446 GB, free: 9.234 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/1.811, allocations: 142 kB / 1.446 GB, free: 9.094 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/1.811, allocations: 119.8 kB / 1.446 GB, free: 8.973 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.811, allocations: 349.9 kB / 1.447 GB, free: 8.625 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/1.813, allocations: 0.541 MB / 1.447 GB, free: 8.082 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/1.815, allocations: 0.8285 MB / 1.448 GB, free: 7.137 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/1.819, allocations: 1.245 MB / 1.449 GB, free: 5.797 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/1.819, allocations: 0 / 1.449 GB, free: 5.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004969/1.824, allocations: 1.584 MB / 1.451 GB, free: 4.203 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002904/1.824, allocations: 318.8 kB / 1.451 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.824, allocations: 4 kB / 1.451 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/1.824, allocations: 12 kB / 1.451 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/1.826, allocations: 259.6 kB / 1.451 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000565/1.827, allocations: 0.6171 MB / 1.452 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.829, allocations: 169.5 kB / 1.452 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/1.83, allocations: 43.98 kB / 1.452 GB, free: 2.672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.83, allocations: 7.938 kB / 1.452 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003974/1.834, allocations: 1.353 MB / 1.454 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.834, allocations: 11.98 kB / 1.454 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/1.834, allocations: 15.98 kB / 1.454 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.835, allocations: 240 kB / 1.454 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/1.835, allocations: 19.92 kB / 1.454 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/1.838, allocations: 170 kB / 1.454 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.838, allocations: 36 kB / 1.454 GB, free: 0.8281 MB / 1.045 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.001806/1.84, allocations: 0.6569 MB / 1.455 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005654/1.84, allocations: 197.6 kB / 1.455 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/1.844, allocations: 0.8531 MB / 1.456 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.844, allocations: 4 kB / 1.456 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.844, allocations: 0 / 1.456 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.844, allocations: 0 / 1.456 GB, free: 15.09 MB / 1.061 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.007202/1.851, allocations: 2.34 MB / 1.458 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/1.851, allocations: 0 / 1.458 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.852, allocations: 140 kB / 1.458 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/1.852, allocations: 7.938 kB / 1.458 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/1.852, allocations: 11.98 kB / 1.458 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000478/1.853, allocations: 0.6093 MB / 1.459 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.853, allocations: 0 / 1.459 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/1.856, allocations: 0.9602 MB / 1.46 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.858, allocations: 362.2 kB / 1.46 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006361/1.858, allocations: 12.06 kB / 1.46 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.86, allocations: 131.8 kB / 1.46 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/1.86, allocations: 23.95 kB / 1.46 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/1.86, allocations: 27.92 kB / 1.46 GB, free: 10.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003498/1.864, allocations: 1.484 MB / 1.462 GB, free: 8.832 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.11e-07/1.864, allocations: 0 / 1.462 GB, free: 8.832 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003565/1.867, allocations: 0.8947 MB / 1.463 GB, free: 7.938 MB / 1.061 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.001249/1.869, allocations: 460 kB / 1.463 GB, free: 7.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004609/1.873, allocations: 1.784 MB / 1.465 GB, free: 5.723 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.873, allocations: 1.25 kB / 1.465 GB, free: 5.723 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.874, allocations: 356.5 kB / 1.465 GB, free: 5.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0063/1.881, allocations: 1.08 MB / 1.466 GB, free: 4.309 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009995/1.891, allocations: 4.299 MB / 1.47 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/1.892, allocations: 1.537 MB / 1.472 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002703/1.895, allocations: 469.1 kB / 1.472 GB, free: 13.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/1.896, allocations: 139.4 kB / 1.472 GB, free: 13.79 MB / 1.076 GB Notification: Performance of SimCode: time 1.263e-06/1.896, allocations: 0 / 1.472 GB, free: 13.79 MB / 1.076 GB Notification: Performance of Templates: time 0.07407/1.97, allocations: 38.45 MB / 1.51 GB, free: 7.75 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches