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.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.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.0009007/0.0009007, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006851/0.006851, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.829/2.829, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.000387, allocations: 8.812 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3854, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.178/1.563, allocations: 298.9 MB / 1.351 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03623/1.599, allocations: 27.32 MB / 1.377 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004445/1.604, allocations: 67.25 kB / 1.377 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/1.614, allocations: 4.424 MB / 1.382 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008647/1.623, allocations: 2.729 MB / 1.384 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007584/1.63, allocations: 2.372 MB / 1.387 GB, free: 15.69 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.01596/1.646, allocations: 8.61 MB / 1.395 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003543/1.65, allocations: 1.441 MB / 1.396 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005551/1.656, allocations: 1.857 MB / 1.398 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/1.659, allocations: 1.265 MB / 1.399 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003621/1.659, allocations: 64.66 kB / 1.4 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00757/1.667, allocations: 3.477 MB / 1.403 GB, free: 9.555 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/1.668, allocations: 0.5996 MB / 1.404 GB, free: 9.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001949/1.67, allocations: 1.092 MB / 1.405 GB, free: 8.469 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00947/1.68, allocations: 4.861 MB / 1.409 GB, free: 5.395 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.68, allocations: 7.938 kB / 1.409 GB, free: 5.387 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.365e-06/1.68, allocations: 0 / 1.409 GB, free: 5.387 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001475/1.68, allocations: 0 / 1.409 GB, free: 5.387 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.005939/1.686, allocations: 2.283 MB / 1.412 GB, free: 3.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.686, allocations: 8.781 kB / 1.412 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/1.691, allocations: 0.758 MB / 1.412 GB, free: 3.324 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/1.702, allocations: 5.539 MB / 1.418 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/1.703, allocations: 150.7 kB / 1.418 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/1.703, allocations: 112.5 kB / 1.418 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/1.707, allocations: 1.386 MB / 1.419 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/1.707, allocations: 3.938 kB / 1.419 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/1.707, allocations: 49.19 kB / 1.419 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/1.707, allocations: 39.62 kB / 1.419 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/1.71, allocations: 1.021 MB / 1.42 GB, free: 14.02 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.01273/1.723, allocations: 7.131 MB / 1.427 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/1.724, allocations: 314.7 kB / 1.428 GB, free: 7.566 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/1.724, allocations: 120.8 kB / 1.428 GB, free: 7.445 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/1.725, allocations: 190.2 kB / 1.428 GB, free: 7.223 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/1.725, allocations: 42.44 kB / 1.428 GB, free: 7.172 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001008/1.726, allocations: 82.91 kB / 1.428 GB, free: 7.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 3.677e-06/1.726, allocations: 0 / 1.428 GB, free: 7.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001813/1.727, allocations: 0.5626 MB / 1.429 GB, free: 6.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/1.728, allocations: 51.41 kB / 1.429 GB, free: 6.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/1.732, allocations: 2.251 MB / 1.431 GB, free: 4.184 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/1.732, allocations: 33.7 kB / 1.431 GB, free: 4.145 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.733, allocations: 0.9633 MB / 1.432 GB, free: 3.184 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/1.733, allocations: 83.08 kB / 1.432 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/1.733, allocations: 125.6 kB / 1.432 GB, free: 2.973 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.733, allocations: 357.9 kB / 1.432 GB, free: 2.617 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/1.734, allocations: 454.1 kB / 1.433 GB, free: 2.168 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/1.736, allocations: 0.8712 MB / 1.434 GB, free: 1.105 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/1.738, allocations: 1.174 MB / 1.435 GB, free: 15.76 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/1.738, allocations: 4 kB / 1.435 GB, free: 15.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003271/1.741, allocations: 1.502 MB / 1.436 GB, free: 14.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004238/1.742, allocations: 488.4 kB / 1.437 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/1.742, allocations: 12 kB / 1.437 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.7e-05/1.742, allocations: 20 kB / 1.437 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/1.743, allocations: 235.6 kB / 1.437 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.524e-05/1.743, allocations: 31.86 kB / 1.437 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.745, allocations: 161.4 kB / 1.437 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.745, allocations: 51.98 kB / 1.437 GB, free: 13.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/1.745, allocations: 4 kB / 1.437 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002538/1.747, allocations: 1.27 MB / 1.439 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/1.747, allocations: 16 kB / 1.439 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.747, allocations: 19.94 kB / 1.439 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/1.748, allocations: 239.8 kB / 1.439 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/1.748, allocations: 23.94 kB / 1.439 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.75, allocations: 126.1 kB / 1.439 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/1.75, allocations: 48 kB / 1.439 GB, free: 11.36 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.001396/1.751, allocations: 0.6451 MB / 1.44 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005633/1.752, allocations: 197.4 kB / 1.44 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/1.753, allocations: 175.6 kB / 1.44 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.753, allocations: 4 kB / 1.44 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.753, allocations: 4.062 kB / 1.44 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.753, allocations: 4 kB / 1.44 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/1.757, allocations: 1.951 MB / 1.442 GB, free: 8.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.757, allocations: 4 kB / 1.442 GB, free: 8.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/1.757, allocations: 51.84 kB / 1.442 GB, free: 8.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/1.757, allocations: 8 kB / 1.442 GB, free: 8.191 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/1.757, allocations: 11.98 kB / 1.442 GB, free: 8.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/1.757, allocations: 8.25 kB / 1.442 GB, free: 8.172 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.757, allocations: 11.94 kB / 1.442 GB, free: 8.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.759, allocations: 0.5885 MB / 1.443 GB, free: 7.496 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007424/1.759, allocations: 326.4 kB / 1.443 GB, free: 7.156 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004198/1.76, allocations: 12 kB / 1.443 GB, free: 7.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.761, allocations: 63.94 kB / 1.443 GB, free: 7.082 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/1.761, allocations: 31.86 kB / 1.443 GB, free: 7.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/1.761, allocations: 8 kB / 1.443 GB, free: 7.043 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002986/1.764, allocations: 1.539 MB / 1.444 GB, free: 5.492 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/1.764, allocations: 0 / 1.444 GB, free: 5.492 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003067/1.767, allocations: 0.8191 MB / 1.445 GB, free: 4.672 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.001158/1.768, allocations: 448.8 kB / 1.446 GB, free: 4.246 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003148/1.771, allocations: 1.441 MB / 1.447 GB, free: 2.809 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.771, allocations: 4.062 kB / 1.447 GB, free: 2.805 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003833/1.772, allocations: 136.8 kB / 1.447 GB, free: 2.672 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006463/1.778, allocations: 1.007 MB / 1.448 GB, free: 1.684 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/1.786, allocations: 3.618 MB / 1.452 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/1.788, allocations: 1.489 MB / 1.453 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002699/1.791, allocations: 444.6 kB / 1.454 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/1.791, allocations: 127.4 kB / 1.454 GB, free: 11.89 MB / 1.061 GB Notification: Performance of SimCode: time 1.042e-06/1.791, allocations: 3.938 kB / 1.454 GB, free: 11.88 MB / 1.061 GB Notification: Performance of Templates: time 0.06527/1.856, allocations: 34.97 MB / 1.488 GB, free: 9.297 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/jenkins/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