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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00105/0.00105, allocations: 92.7 kB / 16.02 MB, free: 80 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.00134/0.001339, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004251, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7558/0.7562, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.9765/1.733, allocations: 298.9 MB / 1.316 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03027/1.763, allocations: 27.33 MB / 1.342 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00373/1.767, allocations: 69.34 kB / 1.342 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009132/1.776, allocations: 4.421 MB / 1.347 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008624/1.785, allocations: 2.726 MB / 1.349 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006621/1.791, allocations: 2.378 MB / 1.352 GB, free: 0.6523 MB / 0.9825 GB [/var/lib/jenkins1/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.01119/1.803, allocations: 8.601 MB / 1.36 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/1.805, allocations: 1.438 MB / 1.361 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004799/1.81, allocations: 1.863 MB / 1.363 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/1.814, allocations: 1.255 MB / 1.364 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002963/1.814, allocations: 62.06 kB / 1.365 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007079/1.821, allocations: 3.482 MB / 1.368 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009281/1.822, allocations: 0.6034 MB / 1.369 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/1.824, allocations: 1.096 MB / 1.37 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005383/1.829, allocations: 3.76 MB / 1.373 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/1.829, allocations: 4 kB / 1.373 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.829, allocations: 0 / 1.373 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.066e-05/1.829, allocations: 0 / 1.373 GB, free: 10.57 MB / 0.9981 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.004379/1.834, allocations: 2.287 MB / 1.376 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.834, allocations: 13.23 kB / 1.376 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/1.838, allocations: 0.7585 MB / 1.376 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/1.848, allocations: 5.539 MB / 1.382 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003974/1.849, allocations: 159.2 kB / 1.382 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/1.849, allocations: 110.5 kB / 1.382 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/1.852, allocations: 1.387 MB / 1.383 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/1.852, allocations: 4.781 kB / 1.383 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/1.852, allocations: 46.03 kB / 1.383 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/1.852, allocations: 43.23 kB / 1.383 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/1.855, allocations: 1.019 MB / 1.384 GB, free: 3.281 MB / 0.9981 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.01025/1.865, allocations: 7.123 MB / 1.391 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/1.866, allocations: 318.8 kB / 1.392 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/1.866, allocations: 125.5 kB / 1.392 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003315/1.867, allocations: 192.5 kB / 1.392 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/1.867, allocations: 37.91 kB / 1.392 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000769/1.867, allocations: 80.56 kB / 1.392 GB, free: 12.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 2.785e-06/1.867, allocations: 0 / 1.392 GB, free: 12.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001633/1.869, allocations: 0.5661 MB / 1.393 GB, free: 12.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/1.869, allocations: 51.41 kB / 1.393 GB, free: 12.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003342/1.872, allocations: 2.258 MB / 1.395 GB, free: 10.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/1.872, allocations: 33.05 kB / 1.395 GB, free: 10.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008559/1.873, allocations: 0.9643 MB / 1.396 GB, free: 10.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/1.873, allocations: 74.77 kB / 1.396 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/1.874, allocations: 126.7 kB / 1.396 GB, free: 9.945 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.874, allocations: 358.5 kB / 1.396 GB, free: 9.602 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.875, allocations: 453.9 kB / 1.397 GB, free: 9.379 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/1.876, allocations: 0.8681 MB / 1.398 GB, free: 8.594 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/1.879, allocations: 1.181 MB / 1.399 GB, free: 7.719 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/1.879, allocations: 3.5 kB / 1.399 GB, free: 7.719 MB / 1.014 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004298/1.883, allocations: 1.501 MB / 1.4 GB, free: 6.332 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004546/1.884, allocations: 485.6 kB / 1.401 GB, free: 5.684 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/1.884, allocations: 12 kB / 1.401 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.38e-05/1.884, allocations: 20 kB / 1.401 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.885, allocations: 243 kB / 1.401 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.731e-05/1.885, allocations: 26 kB / 1.401 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/1.888, allocations: 157.5 kB / 1.401 GB, free: 5.258 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/1.888, allocations: 51.92 kB / 1.401 GB, free: 5.207 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.888, allocations: 5.562 kB / 1.401 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003459/1.891, allocations: 1.266 MB / 1.402 GB, free: 4.016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/1.892, allocations: 16 kB / 1.402 GB, free: 4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.892, allocations: 16 kB / 1.403 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.893, allocations: 232.2 kB / 1.403 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-05/1.893, allocations: 34.86 kB / 1.403 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/1.895, allocations: 123 kB / 1.403 GB, free: 3.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/1.895, allocations: 51.98 kB / 1.403 GB, free: 3.574 MB / 1.014 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.001695/1.897, allocations: 0.65 MB / 1.404 GB, free: 2.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005984/1.898, allocations: 193.5 kB / 1.404 GB, free: 2.738 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/1.898, allocations: 167.7 kB / 1.404 GB, free: 2.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.898, allocations: 7.938 kB / 1.404 GB, free: 2.566 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.898, allocations: 4 kB / 1.404 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.898, allocations: 0 / 1.404 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/1.903, allocations: 1.951 MB / 1.406 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.903, allocations: 4 kB / 1.406 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/1.904, allocations: 54.02 kB / 1.406 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/1.904, allocations: 8 kB / 1.406 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/1.904, allocations: 7.938 kB / 1.406 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/1.904, allocations: 10.88 kB / 1.406 GB, free: 460 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.904, allocations: 8 kB / 1.406 GB, free: 452 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/1.905, allocations: 0.5927 MB / 1.406 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/1.906, allocations: 326.5 kB / 1.407 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.906, allocations: 15.94 kB / 1.407 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/1.907, allocations: 59.94 kB / 1.407 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/1.907, allocations: 32.8 kB / 1.407 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/1.907, allocations: 15.98 kB / 1.407 GB, free: 15.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002853/1.91, allocations: 1.535 MB / 1.408 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/1.91, allocations: 0 / 1.408 GB, free: 13.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002568/1.912, allocations: 0.8181 MB / 1.409 GB, free: 12.95 MB / 1.029 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.0009186/1.913, allocations: 444.5 kB / 1.41 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00291/1.916, allocations: 1.447 MB / 1.411 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.916, allocations: 8.125 kB / 1.411 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/1.917, allocations: 128.5 kB / 1.411 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005851/1.922, allocations: 1.007 MB / 1.412 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005985/1.928, allocations: 3.758 MB / 1.416 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.93, allocations: 1.488 MB / 1.417 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/1.93, allocations: 131.4 kB / 1.417 GB, free: 4.566 MB / 1.029 GB Notification: Performance of SimCode: time 1.653e-06/1.93, allocations: 0 / 1.417 GB, free: 4.566 MB / 1.029 GB Notification: Performance of Templates: time 0.05432/1.985, allocations: 32.74 MB / 1.449 GB, free: 4.059 MB / 1.061 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