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.0008825/0.0008824, allocations: 92.23 kB / 16.02 MB, free: 76 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.001175/0.001176, allocations: 182.4 kB / 16.92 MB, free: 6.926 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.558/1.558, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004061, allocations: 8.125 kB / 0.9034 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3486, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 1.035/1.384, allocations: 306.6 MB / 1.359 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03382/1.418, allocations: 29.22 MB / 1.387 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004365/1.422, allocations: 68.97 kB / 1.387 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0109/1.433, allocations: 4.555 MB / 1.392 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009621/1.443, allocations: 2.841 MB / 1.395 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008111/1.451, allocations: 2.378 MB / 1.397 GB, free: 13.64 MB / 1.014 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.01381/1.465, allocations: 8.984 MB / 1.406 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004156/1.469, allocations: 1.644 MB / 1.407 GB, free: 9.051 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005878/1.475, allocations: 1.953 MB / 1.409 GB, free: 8.066 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004414/1.479, allocations: 1.373 MB / 1.41 GB, free: 7.402 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007478/1.48, allocations: 67.53 kB / 1.411 GB, free: 7.402 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009713/1.49, allocations: 3.837 MB / 1.414 GB, free: 5.539 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001539/1.491, allocations: 0.6235 MB / 1.415 GB, free: 5.152 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003682/1.495, allocations: 1.181 MB / 1.416 GB, free: 4.383 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008044/1.503, allocations: 4.13 MB / 1.42 GB, free: 1.699 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.503, allocations: 0 / 1.42 GB, free: 1.699 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.086e-06/1.503, allocations: 0 / 1.42 GB, free: 1.699 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001612/1.503, allocations: 0 / 1.42 GB, free: 1.699 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.00674/1.51, allocations: 2.454 MB / 1.422 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.51, allocations: 9.219 kB / 1.422 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006628/1.517, allocations: 0.9953 MB / 1.423 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/1.529, allocations: 5.633 MB / 1.429 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004806/1.529, allocations: 176.4 kB / 1.429 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/1.53, allocations: 139.8 kB / 1.429 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004714/1.535, allocations: 1.617 MB / 1.431 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/1.535, allocations: 0 / 1.431 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/1.535, allocations: 56 kB / 1.431 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.779e-05/1.535, allocations: 54.47 kB / 1.431 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/1.539, allocations: 1.384 MB / 1.432 GB, free: 8.234 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.01396/1.553, allocations: 7.694 MB / 1.44 GB, free: 68 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/1.556, allocations: 0.9454 MB / 1.441 GB, free: 15.08 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/1.557, allocations: 372.6 kB / 1.441 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003338/1.558, allocations: 194.2 kB / 1.441 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/1.558, allocations: 38.56 kB / 1.441 GB, free: 14.44 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001225/1.559, allocations: 166.7 kB / 1.441 GB, free: 14.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 5.26e-06/1.559, allocations: 3.938 kB / 1.441 GB, free: 14.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.00414/1.563, allocations: 1.137 MB / 1.443 GB, free: 13.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.563, allocations: 59.41 kB / 1.443 GB, free: 13.05 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004752/1.568, allocations: 2.152 MB / 1.445 GB, free: 10.88 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/1.568, allocations: 37.7 kB / 1.445 GB, free: 10.84 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/1.569, allocations: 0.9775 MB / 1.446 GB, free: 9.855 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/1.57, allocations: 145.5 kB / 1.446 GB, free: 9.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/1.57, allocations: 121.6 kB / 1.446 GB, free: 9.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.57, allocations: 345.9 kB / 1.446 GB, free: 9.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/1.572, allocations: 0.5488 MB / 1.447 GB, free: 8.691 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.573, allocations: 0.8249 MB / 1.448 GB, free: 7.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/1.576, allocations: 1.245 MB / 1.449 GB, free: 6.406 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/1.576, allocations: 0 / 1.449 GB, free: 6.406 MB / 1.045 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003866/1.58, allocations: 1.592 MB / 1.45 GB, free: 4.809 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002573/1.58, allocations: 310.5 kB / 1.451 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.58, allocations: 4 kB / 1.451 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.275e-05/1.58, allocations: 12 kB / 1.451 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.582, allocations: 259.6 kB / 1.451 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005194/1.582, allocations: 0.6171 MB / 1.452 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/1.584, allocations: 173.5 kB / 1.452 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.585, allocations: 43.98 kB / 1.452 GB, free: 3.277 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.585, allocations: 9.719 kB / 1.452 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003175/1.588, allocations: 1.349 MB / 1.453 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.588, allocations: 8 kB / 1.453 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/1.588, allocations: 12 kB / 1.453 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.589, allocations: 248 kB / 1.453 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/1.589, allocations: 15.94 kB / 1.453 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/1.591, allocations: 157.5 kB / 1.454 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.591, allocations: 43.98 kB / 1.454 GB, free: 1.449 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.001484/1.593, allocations: 0.6599 MB / 1.454 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/1.593, allocations: 193.5 kB / 1.454 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/1.596, allocations: 0.8645 MB / 1.455 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.596, allocations: 4 kB / 1.455 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.596, allocations: 0 / 1.455 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.596, allocations: 0 / 1.455 GB, free: 15.71 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.006318/1.602, allocations: 2.359 MB / 1.458 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.603, allocations: 0 / 1.458 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/1.603, allocations: 140 kB / 1.458 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.603, allocations: 4 kB / 1.458 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/1.603, allocations: 15.98 kB / 1.458 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000407/1.604, allocations: 0.6053 MB / 1.458 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.604, allocations: 0 / 1.458 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/1.607, allocations: 0.9712 MB / 1.459 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.608, allocations: 358.3 kB / 1.46 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/1.609, allocations: 12 kB / 1.46 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/1.61, allocations: 127.8 kB / 1.46 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/1.61, allocations: 23.97 kB / 1.46 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/1.61, allocations: 19.98 kB / 1.46 GB, free: 10.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003441/1.614, allocations: 1.484 MB / 1.461 GB, free: 9.441 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.71e-07/1.614, allocations: 0 / 1.461 GB, free: 9.441 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003787/1.618, allocations: 0.9005 MB / 1.462 GB, free: 8.539 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.001346/1.619, allocations: 461 kB / 1.463 GB, free: 8.098 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005077/1.624, allocations: 1.778 MB / 1.464 GB, free: 6.324 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.624, allocations: 8.062 kB / 1.464 GB, free: 6.316 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/1.625, allocations: 344 kB / 1.465 GB, free: 5.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006856/1.632, allocations: 1.076 MB / 1.466 GB, free: 4.918 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.643, allocations: 4.432 MB / 1.47 GB, free: 436 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/1.645, allocations: 1.53 MB / 1.471 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/1.646, allocations: 151.3 kB / 1.472 GB, free: 14.71 MB / 1.076 GB Notification: Performance of SimCode: time 1.483e-06/1.646, allocations: 4 kB / 1.472 GB, free: 14.71 MB / 1.076 GB Notification: Performance of Templates: time 0.0705/1.716, allocations: 45.87 MB / 1.516 GB, free: 1.023 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/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