Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001386/0.001386, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.00153/0.00153, allocations: 193.1 kB / 16.91 MB, free: 6.188 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: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437 MB / 0.7107 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 68.47 kB / 0.8694 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3005, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7938/1.094, allocations: 301.4 MB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03302/1.127, allocations: 27.24 MB / 1.338 GB, free: 1.008 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/1.13, allocations: 71.62 kB / 1.338 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009176/1.14, allocations: 4.648 MB / 1.343 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007855/1.147, allocations: 2.732 MB / 1.346 GB, free: 9.539 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006395/1.154, allocations: 2.426 MB / 1.348 GB, free: 7.125 MB / 1.045 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01051/1.164, allocations: 7.303 MB / 1.355 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002762/1.167, allocations: 1.793 MB / 1.357 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005261/1.172, allocations: 2.238 MB / 1.359 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/1.176, allocations: 1.407 MB / 1.36 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004943/1.176, allocations: 216 kB / 1.361 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006157/1.182, allocations: 3.324 MB / 1.364 GB, free: 6.777 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001031/1.183, allocations: 0.7673 MB / 1.365 GB, free: 6.008 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001802/1.185, allocations: 1.256 MB / 1.366 GB, free: 4.746 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005271/1.19, allocations: 3.871 MB / 1.37 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.19, allocations: 0 / 1.37 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/1.19, allocations: 0 / 1.37 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.028e-05/1.19, allocations: 0 / 1.37 GB, free: 0.8672 MB / 1.061 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.004433/1.195, allocations: 2.729 MB / 1.372 GB, free: 14.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.195, allocations: 12.88 kB / 1.372 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004278/1.199, allocations: 0.7191 MB / 1.373 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009158/1.208, allocations: 5.532 MB / 1.378 GB, free: 7.746 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/1.209, allocations: 142.1 kB / 1.379 GB, free: 7.605 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/1.209, allocations: 108 kB / 1.379 GB, free: 7.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/1.212, allocations: 1.396 MB / 1.38 GB, free: 5.988 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/1.212, allocations: 3.938 kB / 1.38 GB, free: 5.984 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.212, allocations: 48 kB / 1.38 GB, free: 5.938 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/1.212, allocations: 42 kB / 1.38 GB, free: 5.898 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/1.214, allocations: 1.007 MB / 1.381 GB, free: 4.887 MB / 1.076 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.008618/1.223, allocations: 7.097 MB / 1.388 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008404/1.224, allocations: 310.7 kB / 1.388 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/1.224, allocations: 124.8 kB / 1.388 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/1.224, allocations: 194.2 kB / 1.389 GB, free: 12.75 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/1.224, allocations: 42.45 kB / 1.389 GB, free: 12.7 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000633/1.225, allocations: 90.8 kB / 1.389 GB, free: 12.61 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 2.635e-06/1.225, allocations: 0 / 1.389 GB, free: 12.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001501/1.226, allocations: 0.5557 MB / 1.389 GB, free: 12.04 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/1.226, allocations: 59.3 kB / 1.389 GB, free: 11.97 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/1.229, allocations: 2.259 MB / 1.392 GB, free: 9.691 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/1.229, allocations: 33.7 kB / 1.392 GB, free: 9.652 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007551/1.23, allocations: 0.9591 MB / 1.393 GB, free: 8.684 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/1.23, allocations: 82.98 kB / 1.393 GB, free: 8.602 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/1.231, allocations: 282.2 kB / 1.393 GB, free: 8.32 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.231, allocations: 349.9 kB / 1.393 GB, free: 7.973 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009056/1.232, allocations: 464.9 kB / 1.394 GB, free: 7.516 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/1.233, allocations: 0.8673 MB / 1.395 GB, free: 6.453 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/1.234, allocations: 1.187 MB / 1.396 GB, free: 5.094 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/1.234, allocations: 4 kB / 1.396 GB, free: 5.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002697/1.237, allocations: 1.486 MB / 1.397 GB, free: 3.594 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/1.237, allocations: 10.19 kB / 1.397 GB, free: 3.586 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/1.237, allocations: 16 kB / 1.397 GB, free: 3.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/1.237, allocations: 16.81 kB / 1.397 GB, free: 3.555 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/1.238, allocations: 243.5 kB / 1.397 GB, free: 3.316 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/1.238, allocations: 23.94 kB / 1.397 GB, free: 3.293 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.24, allocations: 152.2 kB / 1.398 GB, free: 3.145 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.532e-05/1.24, allocations: 54.02 kB / 1.398 GB, free: 3.094 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001526/1.241, allocations: 0.9356 MB / 1.399 GB, free: 2.152 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001019/1.242, allocations: 0.8595 MB / 1.399 GB, free: 1.102 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00152/1.244, allocations: 1.157 MB / 1.401 GB, free: 15.77 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.595e-06/1.244, allocations: 4 kB / 1.401 GB, free: 15.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002511/1.246, allocations: 1.47 MB / 1.402 GB, free: 14.29 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.246, allocations: 16 kB / 1.402 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.247, allocations: 19.92 kB / 1.402 GB, free: 14.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.247, allocations: 20 kB / 1.402 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/1.247, allocations: 223.6 kB / 1.402 GB, free: 14.01 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/1.247, allocations: 27.92 kB / 1.402 GB, free: 13.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.249, allocations: 120.9 kB / 1.402 GB, free: 13.87 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/1.249, allocations: 59.92 kB / 1.402 GB, free: 13.81 MB / 1.107 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.00026/1.249, allocations: 235.9 kB / 1.403 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/1.249, allocations: 197.4 kB / 1.403 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/1.251, allocations: 445.1 kB / 1.403 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.251, allocations: 4 kB / 1.403 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.251, allocations: 4 kB / 1.403 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.251, allocations: 3.938 kB / 1.403 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003085/1.254, allocations: 1.799 MB / 1.405 GB, free: 11.01 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.254, allocations: 11.92 kB / 1.405 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/1.254, allocations: 43.97 kB / 1.405 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/1.254, allocations: 8 kB / 1.405 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/1.254, allocations: 11.98 kB / 1.405 GB, free: 10.94 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/1.254, allocations: 7.938 kB / 1.405 GB, free: 10.93 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.254, allocations: 11.94 kB / 1.405 GB, free: 10.92 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/1.255, allocations: 0.6607 MB / 1.406 GB, free: 10.19 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/1.256, allocations: 322.5 kB / 1.406 GB, free: 9.852 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/1.256, allocations: 11.98 kB / 1.406 GB, free: 9.84 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/1.257, allocations: 59.94 kB / 1.406 GB, free: 9.781 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/1.257, allocations: 23.86 kB / 1.406 GB, free: 9.758 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/1.257, allocations: 23.98 kB / 1.406 GB, free: 9.734 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002377/1.259, allocations: 1.535 MB / 1.408 GB, free: 8.188 MB / 1.107 GB Notification: Performance of sort global known variables: time 5.31e-07/1.259, allocations: 0 / 1.408 GB, free: 8.188 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002246/1.262, allocations: 0.8229 MB / 1.408 GB, free: 7.363 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.0008209/1.262, allocations: 438.8 kB / 1.409 GB, free: 6.922 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002675/1.265, allocations: 1.445 MB / 1.41 GB, free: 5.48 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.265, allocations: 0 / 1.41 GB, free: 5.48 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/1.265, allocations: 137.1 kB / 1.41 GB, free: 5.348 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/1.27, allocations: 1.068 MB / 1.411 GB, free: 4.309 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/1.275, allocations: 3.722 MB / 1.415 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.276, allocations: 1.489 MB / 1.417 GB, free: 14.97 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/1.276, allocations: 131.4 kB / 1.417 GB, free: 14.84 MB / 1.123 GB Notification: Performance of SimCode: time 8.22e-07/1.276, allocations: 0 / 1.417 GB, free: 14.84 MB / 1.123 GB Notification: Performance of Templates: time 0.04524/1.321, allocations: 33.17 MB / 1.449 GB, free: 13.88 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches