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.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.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.001067/0.001067, allocations: 92.23 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.001428/0.001428, allocations: 177.7 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.677/2.677, allocations: 443.2 MB / 0.7181 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 10.94 kB / 0.8801 GB, free: 42.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3307, allocations: 155.2 MB / 1.032 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.9571/1.288, allocations: 306.6 MB / 1.331 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03282/1.321, allocations: 29.22 MB / 1.36 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003844/1.325, allocations: 75.53 kB / 1.36 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009549/1.334, allocations: 4.561 MB / 1.364 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008964/1.343, allocations: 2.844 MB / 1.367 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006803/1.35, allocations: 2.37 MB / 1.369 GB, free: 0.7383 MB / 0.9981 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.0126/1.363, allocations: 8.987 MB / 1.378 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003201/1.366, allocations: 1.632 MB / 1.38 GB, free: 432 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005354/1.371, allocations: 1.95 MB / 1.381 GB, free: 400 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00357/1.375, allocations: 1.381 MB / 1.383 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003715/1.375, allocations: 69.78 kB / 1.383 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008604/1.384, allocations: 3.845 MB / 1.387 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/1.385, allocations: 0.6284 MB / 1.387 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002172/1.387, allocations: 1.175 MB / 1.388 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00621/1.393, allocations: 4.129 MB / 1.392 GB, free: 11.67 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.394, allocations: 3.984 kB / 1.392 GB, free: 11.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.956e-06/1.394, allocations: 2.906 kB / 1.392 GB, free: 11.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001008/1.394, allocations: 0 / 1.392 GB, free: 11.66 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.005415/1.399, allocations: 2.45 MB / 1.395 GB, free: 9.832 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.399, allocations: 11.48 kB / 1.395 GB, free: 9.828 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006404/1.406, allocations: 0.9931 MB / 1.396 GB, free: 9.402 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/1.416, allocations: 5.632 MB / 1.401 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/1.417, allocations: 174 kB / 1.401 GB, free: 5.625 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/1.417, allocations: 133.4 kB / 1.402 GB, free: 5.586 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/1.42, allocations: 1.631 MB / 1.403 GB, free: 4.574 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/1.42, allocations: 4 kB / 1.403 GB, free: 4.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/1.421, allocations: 50.19 kB / 1.403 GB, free: 4.531 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/1.421, allocations: 48.61 kB / 1.403 GB, free: 4.527 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003326/1.424, allocations: 1.389 MB / 1.405 GB, free: 3.836 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.01115/1.435, allocations: 7.692 MB / 1.412 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/1.438, allocations: 0.9473 MB / 1.413 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/1.439, allocations: 372.3 kB / 1.413 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/1.439, allocations: 193.9 kB / 1.414 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.439, allocations: 34.56 kB / 1.414 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001035/1.44, allocations: 169.9 kB / 1.414 GB, free: 12.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 3.506e-06/1.44, allocations: 0 / 1.414 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.003472/1.444, allocations: 1.131 MB / 1.415 GB, free: 11.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.444, allocations: 54.03 kB / 1.415 GB, free: 11.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/1.447, allocations: 2.166 MB / 1.417 GB, free: 10.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.569e-05/1.447, allocations: 33.23 kB / 1.417 GB, free: 10.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000817/1.448, allocations: 0.9801 MB / 1.418 GB, free: 9.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/1.448, allocations: 138.4 kB / 1.418 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/1.448, allocations: 123.2 kB / 1.418 GB, free: 9.254 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.448, allocations: 348 kB / 1.419 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/1.449, allocations: 0.5466 MB / 1.419 GB, free: 8.645 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.451, allocations: 0.8305 MB / 1.42 GB, free: 7.914 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/1.453, allocations: 1.247 MB / 1.421 GB, free: 6.594 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.453, allocations: 6.984 kB / 1.421 GB, free: 6.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003536/1.457, allocations: 1.577 MB / 1.423 GB, free: 5.043 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/1.457, allocations: 305.9 kB / 1.423 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.457, allocations: 8 kB / 1.423 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.862e-05/1.457, allocations: 15.94 kB / 1.423 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.459, allocations: 269.9 kB / 1.423 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00044/1.459, allocations: 0.6086 MB / 1.424 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.461, allocations: 176.5 kB / 1.424 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/1.461, allocations: 43.98 kB / 1.424 GB, free: 3.531 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.461, allocations: 4 kB / 1.424 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002835/1.464, allocations: 1.353 MB / 1.425 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.464, allocations: 16.3 kB / 1.425 GB, free: 2.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.464, allocations: 8 kB / 1.425 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.465, allocations: 254.5 kB / 1.426 GB, free: 1.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/1.465, allocations: 18.8 kB / 1.426 GB, free: 1.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.467, allocations: 157.5 kB / 1.426 GB, free: 1.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-05/1.467, allocations: 40 kB / 1.426 GB, free: 1.75 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.001376/1.468, allocations: 0.657 MB / 1.427 GB, free: 1.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/1.469, allocations: 193.5 kB / 1.427 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/1.471, allocations: 0.8689 MB / 1.428 GB, free: 28 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/1.471, allocations: 4 kB / 1.428 GB, free: 24 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.471, allocations: 0 / 1.428 GB, free: 24 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.471, allocations: 0 / 1.428 GB, free: 24 kB / 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.005831/1.477, allocations: 2.344 MB / 1.43 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/1.477, allocations: 4 kB / 1.43 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008535/1.478, allocations: 142.7 kB / 1.43 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/1.478, allocations: 6.812 kB / 1.43 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/1.478, allocations: 11.98 kB / 1.43 GB, free: 13.47 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003511/1.479, allocations: 0.5977 MB / 1.431 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.479, allocations: 3.094 kB / 1.431 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/1.481, allocations: 0.963 MB / 1.432 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009587/1.482, allocations: 358.3 kB / 1.432 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000512/1.483, allocations: 15.88 kB / 1.432 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.484, allocations: 123.8 kB / 1.432 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/1.484, allocations: 27.95 kB / 1.432 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/1.484, allocations: 31.91 kB / 1.432 GB, free: 11.29 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003051/1.487, allocations: 1.476 MB / 1.434 GB, free: 9.797 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.01e-07/1.487, allocations: 0 / 1.434 GB, free: 9.797 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003632/1.491, allocations: 0.9044 MB / 1.434 GB, free: 8.891 MB / 1.045 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.001276/1.492, allocations: 450.1 kB / 1.435 GB, free: 8.469 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004745/1.497, allocations: 1.784 MB / 1.437 GB, free: 6.734 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.497, allocations: 0 / 1.437 GB, free: 6.734 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.498, allocations: 352.9 kB / 1.437 GB, free: 6.402 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006546/1.505, allocations: 1.097 MB / 1.438 GB, free: 5.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.516, allocations: 4.425 MB / 1.442 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/1.518, allocations: 1.534 MB / 1.444 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/1.518, allocations: 139.4 kB / 1.444 GB, free: 15.13 MB / 1.061 GB Notification: Performance of SimCode: time 8.62e-07/1.518, allocations: 0 / 1.444 GB, free: 15.13 MB / 1.061 GB Notification: Performance of Templates: time 0.06759/1.586, allocations: 45.88 MB / 1.489 GB, free: 1.488 MB / 1.092 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches