Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001534, allocations: 100.1 kB / 15.88 MB, free: 12 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.001718/0.001718, allocations: 200 kB / 16.79 MB, free: 6.828 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.505/1.505, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.061/3.061, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 69.44 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.35, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.973/1.323, allocations: 303 MB / 1.349 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02942/1.353, allocations: 27.65 MB / 1.376 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003716/1.356, allocations: 70 kB / 1.376 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009407/1.366, allocations: 4.428 MB / 1.38 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007248/1.373, allocations: 2.734 MB / 1.383 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005602/1.379, allocations: 2.377 MB / 1.385 GB, free: 1.324 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.0107/1.389, allocations: 8.602 MB / 1.393 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00298/1.392, allocations: 1.523 MB / 1.395 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005044/1.397, allocations: 1.927 MB / 1.397 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/1.401, allocations: 1.344 MB / 1.398 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003746/1.401, allocations: 94.44 kB / 1.398 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007991/1.409, allocations: 3.51 MB / 1.402 GB, free: 10.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009765/1.41, allocations: 0.6539 MB / 1.402 GB, free: 10.33 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001821/1.412, allocations: 1.129 MB / 1.403 GB, free: 9.598 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00491/1.417, allocations: 3.841 MB / 1.407 GB, free: 7.094 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.417, allocations: 0 / 1.407 GB, free: 7.094 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/1.417, allocations: 0 / 1.407 GB, free: 7.094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.77e-05/1.417, allocations: 0 / 1.407 GB, free: 7.094 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004991/1.422, allocations: 2.728 MB / 1.41 GB, free: 5.043 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.422, allocations: 12.44 kB / 1.41 GB, free: 5.039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/1.427, allocations: 0.7064 MB / 1.411 GB, free: 4.719 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/1.437, allocations: 5.543 MB / 1.416 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/1.437, allocations: 146.1 kB / 1.416 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/1.438, allocations: 108 kB / 1.416 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/1.441, allocations: 1.382 MB / 1.418 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/1.441, allocations: 7.938 kB / 1.418 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/1.441, allocations: 48 kB / 1.418 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/1.441, allocations: 41.98 kB / 1.418 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/1.444, allocations: 1.007 MB / 1.419 GB, free: 14.17 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.009868/1.454, allocations: 7.12 MB / 1.426 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/1.455, allocations: 310.7 kB / 1.426 GB, free: 6.406 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/1.455, allocations: 124.8 kB / 1.426 GB, free: 6.281 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/1.455, allocations: 190.2 kB / 1.426 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/1.455, allocations: 42.5 kB / 1.426 GB, free: 6.008 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007897/1.456, allocations: 86.75 kB / 1.426 GB, free: 5.922 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.715e-06/1.456, allocations: 0 / 1.426 GB, free: 5.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001736/1.458, allocations: 0.5631 MB / 1.427 GB, free: 5.352 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.458, allocations: 51.41 kB / 1.427 GB, free: 5.289 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003704/1.462, allocations: 2.247 MB / 1.429 GB, free: 3.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/1.462, allocations: 33.7 kB / 1.429 GB, free: 2.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008645/1.463, allocations: 0.9661 MB / 1.43 GB, free: 2.016 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.186e-05/1.463, allocations: 85.89 kB / 1.43 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/1.463, allocations: 274.2 kB / 1.43 GB, free: 1.656 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.463, allocations: 353.9 kB / 1.431 GB, free: 1.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009643/1.464, allocations: 456.9 kB / 1.431 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/1.466, allocations: 0.8712 MB / 1.432 GB, free: 15.79 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/1.467, allocations: 1.166 MB / 1.433 GB, free: 14.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/1.467, allocations: 4 kB / 1.433 GB, free: 14.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002886/1.47, allocations: 1.49 MB / 1.435 GB, free: 12.95 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.47, allocations: 8 kB / 1.435 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.47, allocations: 16.91 kB / 1.435 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.304e-05/1.47, allocations: 16 kB / 1.435 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/1.471, allocations: 239.6 kB / 1.435 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.178e-05/1.471, allocations: 27.92 kB / 1.435 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.473, allocations: 148.2 kB / 1.435 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.473, allocations: 48 kB / 1.435 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001758/1.475, allocations: 0.9356 MB / 1.436 GB, free: 11.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001123/1.476, allocations: 0.8517 MB / 1.437 GB, free: 10.47 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001576/1.478, allocations: 1.173 MB / 1.438 GB, free: 9.121 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.358e-06/1.478, allocations: 4 kB / 1.438 GB, free: 9.117 MB / 1.045 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002703/1.48, allocations: 1.466 MB / 1.439 GB, free: 7.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.481, allocations: 11.94 kB / 1.439 GB, free: 7.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.481, allocations: 16 kB / 1.439 GB, free: 7.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.481, allocations: 16 kB / 1.439 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/1.481, allocations: 227.6 kB / 1.44 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/1.481, allocations: 27.98 kB / 1.44 GB, free: 7.348 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.483, allocations: 120.2 kB / 1.44 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/1.483, allocations: 55.98 kB / 1.44 GB, free: 7.176 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (118): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002392/1.483, allocations: 239.8 kB / 1.44 GB, free: 6.934 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/1.484, allocations: 201.4 kB / 1.44 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/1.484, allocations: 175.5 kB / 1.44 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.484, allocations: 3.984 kB / 1.44 GB, free: 6.559 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.484, allocations: 0 / 1.44 GB, free: 6.559 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.484, allocations: 0 / 1.44 GB, free: 6.559 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/1.488, allocations: 1.955 MB / 1.442 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.488, allocations: 4 kB / 1.442 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/1.489, allocations: 55.89 kB / 1.442 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/1.489, allocations: 4 kB / 1.442 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/1.489, allocations: 12 kB / 1.442 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.489, allocations: 4 kB / 1.442 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.489, allocations: 7.938 kB / 1.442 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/1.49, allocations: 0.6044 MB / 1.443 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006665/1.491, allocations: 318.5 kB / 1.443 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/1.491, allocations: 12 kB / 1.443 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009528/1.492, allocations: 59.94 kB / 1.443 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/1.492, allocations: 31.86 kB / 1.443 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/1.492, allocations: 11.98 kB / 1.443 GB, free: 3.281 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003171/1.495, allocations: 1.535 MB / 1.445 GB, free: 1.734 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.31e-07/1.495, allocations: 0 / 1.445 GB, free: 1.734 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00299/1.498, allocations: 0.8152 MB / 1.446 GB, free: 0.918 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/1.499, allocations: 441 kB / 1.446 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003089/1.502, allocations: 1.434 MB / 1.448 GB, free: 15.06 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.502, allocations: 0 / 1.448 GB, free: 15.06 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004073/1.503, allocations: 141.7 kB / 1.448 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004845/1.508, allocations: 1.001 MB / 1.449 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/1.514, allocations: 3.712 MB / 1.452 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/1.515, allocations: 1.493 MB / 1.454 GB, free: 8.609 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/1.516, allocations: 131.4 kB / 1.454 GB, free: 8.48 MB / 1.061 GB Notification: Performance of SimCode: time 1.232e-06/1.516, allocations: 4 kB / 1.454 GB, free: 8.477 MB / 1.061 GB Notification: Performance of Templates: time 0.04836/1.564, allocations: 33.07 MB / 1.486 GB, free: 7.605 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches