Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001576/0.001576, allocations: 105.4 kB / 15.99 MB, free: 6.355 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.001476/0.001476, allocations: 191 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.586/2.586, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.56 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3364, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8207/1.157, allocations: 301.4 MB / 1.358 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0372/1.194, allocations: 27.24 MB / 1.385 GB, free: 136 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003534/1.198, allocations: 71.62 kB / 1.385 GB, free: 64 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01042/1.209, allocations: 4.646 MB / 1.39 GB, free: 11.41 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008382/1.217, allocations: 2.735 MB / 1.392 GB, free: 8.664 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006933/1.224, allocations: 2.44 MB / 1.395 GB, free: 6.238 MB / 1.107 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.01111/1.235, allocations: 7.307 MB / 1.402 GB, free: 14.91 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002941/1.238, allocations: 1.793 MB / 1.404 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/1.243, allocations: 2.238 MB / 1.406 GB, free: 10.83 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/1.246, allocations: 1.417 MB / 1.407 GB, free: 9.414 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003355/1.246, allocations: 212 kB / 1.407 GB, free: 9.207 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006486/1.253, allocations: 3.324 MB / 1.411 GB, free: 5.875 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/1.254, allocations: 0.7596 MB / 1.411 GB, free: 5.113 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001827/1.256, allocations: 1.26 MB / 1.413 GB, free: 3.848 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00594/1.262, allocations: 3.89 MB / 1.416 GB, free: 15.95 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.262, allocations: 0 / 1.416 GB, free: 15.95 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.663e-06/1.262, allocations: 0 / 1.416 GB, free: 15.95 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.235e-05/1.262, allocations: 0 / 1.416 GB, free: 15.95 MB / 1.139 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.005186/1.267, allocations: 2.72 MB / 1.419 GB, free: 13.16 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.267, allocations: 16.03 kB / 1.419 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004475/1.271, allocations: 0.7114 MB / 1.42 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/1.282, allocations: 5.539 MB / 1.425 GB, free: 6.832 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003974/1.282, allocations: 138.1 kB / 1.425 GB, free: 6.695 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/1.283, allocations: 112 kB / 1.425 GB, free: 6.586 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/1.285, allocations: 1.384 MB / 1.427 GB, free: 5.086 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/1.285, allocations: 4 kB / 1.427 GB, free: 5.082 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/1.286, allocations: 48 kB / 1.427 GB, free: 5.035 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/1.286, allocations: 41.94 kB / 1.427 GB, free: 4.996 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/1.288, allocations: 1.007 MB / 1.428 GB, free: 3.988 MB / 1.139 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.009613/1.298, allocations: 7.105 MB / 1.435 GB, free: 12.5 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008627/1.298, allocations: 318.7 kB / 1.435 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/1.299, allocations: 124.8 kB / 1.435 GB, free: 12.06 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/1.299, allocations: 186.2 kB / 1.435 GB, free: 11.84 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.299, allocations: 42.55 kB / 1.435 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006452/1.3, allocations: 82.91 kB / 1.435 GB, free: 11.71 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 2.295e-06/1.3, allocations: 0 / 1.435 GB, free: 11.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001574/1.301, allocations: 0.5626 MB / 1.436 GB, free: 11.14 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.301, allocations: 51.41 kB / 1.436 GB, free: 11.07 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/1.305, allocations: 2.259 MB / 1.438 GB, free: 8.793 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/1.305, allocations: 29.7 kB / 1.438 GB, free: 8.758 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008968/1.306, allocations: 0.9708 MB / 1.439 GB, free: 7.777 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/1.306, allocations: 71.09 kB / 1.439 GB, free: 7.707 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/1.306, allocations: 282.1 kB / 1.44 GB, free: 7.426 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.306, allocations: 353.9 kB / 1.44 GB, free: 7.074 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009404/1.307, allocations: 460.9 kB / 1.44 GB, free: 6.617 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/1.309, allocations: 0.8713 MB / 1.441 GB, free: 5.559 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/1.31, allocations: 1.177 MB / 1.442 GB, free: 4.203 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/1.31, allocations: 4 kB / 1.442 GB, free: 4.199 MB / 1.154 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002904/1.313, allocations: 1.506 MB / 1.444 GB, free: 2.684 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.313, allocations: 15.94 kB / 1.444 GB, free: 2.668 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.313, allocations: 12 kB / 1.444 GB, free: 2.656 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/1.313, allocations: 20 kB / 1.444 GB, free: 2.637 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/1.314, allocations: 236.3 kB / 1.444 GB, free: 2.406 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/1.314, allocations: 27.86 kB / 1.444 GB, free: 2.379 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.316, allocations: 152.1 kB / 1.444 GB, free: 2.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/1.316, allocations: 51.98 kB / 1.444 GB, free: 2.18 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001708/1.318, allocations: 0.9356 MB / 1.445 GB, free: 1.234 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001181/1.319, allocations: 0.8556 MB / 1.446 GB, free: 200 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001717/1.321, allocations: 1.165 MB / 1.447 GB, free: 14.85 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.843e-06/1.321, allocations: 4 kB / 1.447 GB, free: 14.85 MB / 1.17 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002644/1.323, allocations: 1.462 MB / 1.449 GB, free: 13.38 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.323, allocations: 12 kB / 1.449 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.323, allocations: 16.09 kB / 1.449 GB, free: 13.35 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.323, allocations: 16 kB / 1.449 GB, free: 13.33 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/1.324, allocations: 231.6 kB / 1.449 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/1.324, allocations: 31.86 kB / 1.449 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.326, allocations: 120.9 kB / 1.449 GB, free: 12.96 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/1.326, allocations: 55.92 kB / 1.449 GB, free: 12.9 MB / 1.17 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.0002785/1.326, allocations: 240.4 kB / 1.449 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/1.326, allocations: 193.5 kB / 1.45 GB, free: 12.47 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/1.327, allocations: 451.1 kB / 1.45 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.327, allocations: 0 / 1.45 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.327, allocations: 0 / 1.45 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.327, allocations: 7.938 kB / 1.45 GB, free: 12.01 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/1.331, allocations: 1.795 MB / 1.452 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/1.331, allocations: 8.062 kB / 1.452 GB, free: 10.1 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/1.331, allocations: 55.89 kB / 1.452 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.331, allocations: 4 kB / 1.452 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/1.331, allocations: 8 kB / 1.452 GB, free: 10.03 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/1.331, allocations: 11.92 kB / 1.452 GB, free: 10.02 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.331, allocations: 7.938 kB / 1.452 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/1.332, allocations: 0.6552 MB / 1.452 GB, free: 9.285 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/1.333, allocations: 326.5 kB / 1.453 GB, free: 8.945 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/1.333, allocations: 19.92 kB / 1.453 GB, free: 8.926 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008556/1.334, allocations: 67.78 kB / 1.453 GB, free: 8.859 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/1.334, allocations: 19.92 kB / 1.453 GB, free: 8.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/1.334, allocations: 15.98 kB / 1.453 GB, free: 8.824 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002322/1.336, allocations: 1.543 MB / 1.454 GB, free: 7.27 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.666e-06/1.336, allocations: 0 / 1.454 GB, free: 7.27 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00219/1.338, allocations: 0.819 MB / 1.455 GB, free: 6.449 MB / 1.17 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.0008885/1.339, allocations: 442.8 kB / 1.456 GB, free: 6.008 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002883/1.342, allocations: 1.453 MB / 1.457 GB, free: 4.562 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.342, allocations: 8.062 kB / 1.457 GB, free: 4.555 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/1.343, allocations: 128.8 kB / 1.457 GB, free: 4.43 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/1.346, allocations: 1.064 MB / 1.458 GB, free: 3.395 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/1.352, allocations: 3.723 MB / 1.462 GB, free: 15.58 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.353, allocations: 1.481 MB / 1.463 GB, free: 14.06 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/1.354, allocations: 131.4 kB / 1.463 GB, free: 13.93 MB / 1.186 GB Notification: Performance of SimCode: time 8.12e-07/1.354, allocations: 0 / 1.463 GB, free: 13.93 MB / 1.186 GB Notification: Performance of Templates: time 0.04968/1.403, allocations: 33.16 MB / 1.496 GB, free: 12.97 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches