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.001494/0.001494, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001778/0.001778, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.33 kB / 0.8984 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3998, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.139/1.539, allocations: 303 MB / 1.348 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03429/1.573, allocations: 27.67 MB / 1.375 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004813/1.578, allocations: 73.62 kB / 1.375 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01089/1.589, allocations: 4.431 MB / 1.379 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00913/1.598, allocations: 2.727 MB / 1.382 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008133/1.606, allocations: 2.373 MB / 1.384 GB, free: 1.496 MB / 0.9981 GB [/var/lib/jenkins/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.01415/1.62, allocations: 8.6 MB / 1.393 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/1.624, allocations: 1.525 MB / 1.394 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/1.629, allocations: 1.933 MB / 1.396 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003541/1.632, allocations: 1.33 MB / 1.397 GB, free: 12.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003527/1.633, allocations: 103 kB / 1.398 GB, free: 12.65 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008753/1.642, allocations: 3.507 MB / 1.401 GB, free: 10.98 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001298/1.643, allocations: 0.6462 MB / 1.402 GB, free: 10.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002226/1.645, allocations: 1.134 MB / 1.403 GB, free: 9.824 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/1.655, allocations: 4.953 MB / 1.408 GB, free: 6.648 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.655, allocations: 2.844 kB / 1.408 GB, free: 6.648 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/1.655, allocations: 0 / 1.408 GB, free: 6.648 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.461e-05/1.655, allocations: 0 / 1.408 GB, free: 6.648 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.005824/1.661, allocations: 2.724 MB / 1.41 GB, free: 4.602 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.661, allocations: 11.88 kB / 1.41 GB, free: 4.602 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/1.666, allocations: 0.7122 MB / 1.411 GB, free: 4.277 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/1.676, allocations: 5.542 MB / 1.416 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/1.677, allocations: 146.1 kB / 1.417 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/1.677, allocations: 112 kB / 1.417 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/1.68, allocations: 1.383 MB / 1.418 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.68, allocations: 0 / 1.418 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.68, allocations: 48 kB / 1.418 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/1.68, allocations: 45.92 kB / 1.418 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/1.682, allocations: 1.015 MB / 1.419 GB, free: 13.47 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.01105/1.694, allocations: 7.113 MB / 1.426 GB, free: 6.027 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/1.694, allocations: 310.7 kB / 1.426 GB, free: 5.715 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/1.695, allocations: 128.8 kB / 1.426 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/1.695, allocations: 186.1 kB / 1.427 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/1.695, allocations: 42.5 kB / 1.427 GB, free: 5.316 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008655/1.696, allocations: 94.8 kB / 1.427 GB, free: 5.223 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.925e-06/1.696, allocations: 0 / 1.427 GB, free: 5.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001555/1.698, allocations: 0.5511 MB / 1.427 GB, free: 4.664 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/1.698, allocations: 59.41 kB / 1.427 GB, free: 4.594 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/1.701, allocations: 2.243 MB / 1.43 GB, free: 2.328 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/1.701, allocations: 33.7 kB / 1.43 GB, free: 2.289 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008569/1.702, allocations: 0.9708 MB / 1.43 GB, free: 1.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/1.702, allocations: 79 kB / 1.431 GB, free: 1.242 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004104/1.702, allocations: 274.2 kB / 1.431 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.702, allocations: 353.9 kB / 1.431 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/1.703, allocations: 460.9 kB / 1.432 GB, free: 164 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/1.704, allocations: 0.8635 MB / 1.432 GB, free: 15.1 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/1.706, allocations: 1.185 MB / 1.434 GB, free: 13.74 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.706, allocations: 4 kB / 1.434 GB, free: 13.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002755/1.709, allocations: 1.483 MB / 1.435 GB, free: 12.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.709, allocations: 12 kB / 1.435 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/1.709, allocations: 16.06 kB / 1.435 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.709, allocations: 20 kB / 1.435 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/1.71, allocations: 227.6 kB / 1.435 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/1.71, allocations: 31.86 kB / 1.435 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.712, allocations: 148.2 kB / 1.435 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/1.712, allocations: 48 kB / 1.436 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00172/1.713, allocations: 0.9317 MB / 1.436 GB, free: 10.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001179/1.715, allocations: 0.8478 MB / 1.437 GB, free: 9.773 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001628/1.716, allocations: 1.181 MB / 1.438 GB, free: 8.418 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.372e-06/1.716, allocations: 4 kB / 1.438 GB, free: 8.414 MB / 1.045 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002648/1.719, allocations: 1.461 MB / 1.44 GB, free: 6.945 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.719, allocations: 19.88 kB / 1.44 GB, free: 6.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.719, allocations: 12 kB / 1.44 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.719, allocations: 20 kB / 1.44 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/1.72, allocations: 227.9 kB / 1.44 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.527e-05/1.72, allocations: 35.8 kB / 1.44 GB, free: 6.637 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.721, allocations: 120.8 kB / 1.44 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/1.722, allocations: 51.98 kB / 1.44 GB, free: 6.469 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.0003253/1.722, allocations: 239.8 kB / 1.441 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/1.722, allocations: 201.4 kB / 1.441 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/1.723, allocations: 163.7 kB / 1.441 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.723, allocations: 4 kB / 1.441 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.723, allocations: 0 / 1.441 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.723, allocations: 4 kB / 1.441 GB, free: 5.859 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/1.726, allocations: 1.948 MB / 1.443 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.726, allocations: 4 kB / 1.443 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/1.726, allocations: 51.89 kB / 1.443 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/1.726, allocations: 4 kB / 1.443 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/1.727, allocations: 12 kB / 1.443 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/1.727, allocations: 8.188 kB / 1.443 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.727, allocations: 12 kB / 1.443 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/1.728, allocations: 0.5931 MB / 1.443 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/1.728, allocations: 330.5 kB / 1.444 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.728, allocations: 12 kB / 1.444 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008575/1.729, allocations: 59.94 kB / 1.444 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/1.729, allocations: 23.92 kB / 1.444 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/1.729, allocations: 19.92 kB / 1.444 GB, free: 2.582 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002361/1.732, allocations: 1.531 MB / 1.445 GB, free: 1.039 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.81e-07/1.732, allocations: 0 / 1.445 GB, free: 1.039 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00246/1.734, allocations: 0.8152 MB / 1.446 GB, free: 228 kB / 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.0009454/1.735, allocations: 446.1 kB / 1.447 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002902/1.738, allocations: 1.436 MB / 1.448 GB, free: 14.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.738, allocations: 0 / 1.448 GB, free: 14.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/1.738, allocations: 137.8 kB / 1.448 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/1.743, allocations: 1.003 MB / 1.449 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/1.748, allocations: 3.59 MB / 1.453 GB, free: 9.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.75, allocations: 1.489 MB / 1.454 GB, free: 8.047 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002445/1.752, allocations: 452.6 kB / 1.455 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/1.752, allocations: 123.4 kB / 1.455 GB, free: 7.48 MB / 1.061 GB Notification: Performance of SimCode: time 1.182e-06/1.752, allocations: 0 / 1.455 GB, free: 7.48 MB / 1.061 GB Notification: Performance of Templates: time 0.06226/1.815, allocations: 34.55 MB / 1.488 GB, free: 5.312 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