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.001646/0.001646, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002419/0.002419, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.703/2.703, allocations: 437 MB / 0.71 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 63.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8379, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.185/2.023, allocations: 301.4 MB / 1.311 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04087/2.064, allocations: 27.23 MB / 1.338 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005369/2.069, allocations: 71.12 kB / 1.338 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01103/2.08, allocations: 4.639 MB / 1.342 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/2.09, allocations: 2.74 MB / 1.345 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009151/2.1, allocations: 2.43 MB / 1.347 GB, free: 5.004 MB / 0.9981 GB [/var/lib/jenkins/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.01286/2.112, allocations: 7.306 MB / 1.354 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004719/2.117, allocations: 1.792 MB / 1.356 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00679/2.124, allocations: 2.237 MB / 1.358 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00401/2.128, allocations: 1.401 MB / 1.36 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009866/2.129, allocations: 210.4 kB / 1.36 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008718/2.138, allocations: 3.324 MB / 1.363 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001611/2.139, allocations: 0.7581 MB / 1.364 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002302/2.142, allocations: 1.266 MB / 1.365 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/2.152, allocations: 5.038 MB / 1.37 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/2.153, allocations: 0 / 1.37 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/2.153, allocations: 0 / 1.37 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.262e-05/2.153, allocations: 0 / 1.37 GB, free: 1.621 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.006094/2.159, allocations: 2.744 MB / 1.373 GB, free: 15.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/2.159, allocations: 14.39 kB / 1.373 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/2.163, allocations: 0.7189 MB / 1.373 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/2.174, allocations: 5.532 MB / 1.379 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003753/2.174, allocations: 149.5 kB / 1.379 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/2.175, allocations: 114.2 kB / 1.379 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/2.177, allocations: 1.382 MB / 1.381 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/2.177, allocations: 0 / 1.381 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/2.178, allocations: 45.28 kB / 1.381 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.688e-05/2.178, allocations: 49.39 kB / 1.381 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/2.18, allocations: 1.005 MB / 1.382 GB, free: 11.43 MB / 1.014 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.009938/2.19, allocations: 7.108 MB / 1.389 GB, free: 5.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008489/2.191, allocations: 317.1 kB / 1.389 GB, free: 5.086 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/2.191, allocations: 132.9 kB / 1.389 GB, free: 5.016 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/2.191, allocations: 186.3 kB / 1.389 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/2.191, allocations: 36.69 kB / 1.389 GB, free: 4.773 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008975/2.192, allocations: 94.72 kB / 1.389 GB, free: 4.707 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 3.066e-06/2.192, allocations: 4 kB / 1.389 GB, free: 4.703 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001644/2.194, allocations: 0.558 MB / 1.39 GB, free: 4.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/2.194, allocations: 57.89 kB / 1.39 GB, free: 4.344 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/2.197, allocations: 2.244 MB / 1.392 GB, free: 3.109 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/2.197, allocations: 36.39 kB / 1.392 GB, free: 3.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007842/2.198, allocations: 0.9714 MB / 1.393 GB, free: 2.223 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/2.198, allocations: 80.23 kB / 1.393 GB, free: 2.156 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/2.199, allocations: 277.4 kB / 1.393 GB, free: 1.988 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001572/2.199, allocations: 353.9 kB / 1.394 GB, free: 1.648 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009087/2.2, allocations: 457 kB / 1.394 GB, free: 1.422 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/2.201, allocations: 0.8786 MB / 1.395 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/2.203, allocations: 1.173 MB / 1.396 GB, free: 15.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.505e-06/2.203, allocations: 6.594 kB / 1.396 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002851/2.206, allocations: 1.49 MB / 1.398 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/2.206, allocations: 11.88 kB / 1.398 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/2.206, allocations: 15.05 kB / 1.398 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/2.206, allocations: 25.84 kB / 1.398 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008525/2.207, allocations: 231.8 kB / 1.398 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/2.207, allocations: 29.27 kB / 1.398 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/2.208, allocations: 151.2 kB / 1.398 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/2.208, allocations: 54.36 kB / 1.398 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001682/2.21, allocations: 0.9376 MB / 1.399 GB, free: 14.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001082/2.211, allocations: 0.851 MB / 1.4 GB, free: 13.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001567/2.213, allocations: 1.17 MB / 1.401 GB, free: 12.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.47e-06/2.213, allocations: 2.906 kB / 1.401 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.00269/2.216, allocations: 1.477 MB / 1.402 GB, free: 11.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/2.216, allocations: 13.03 kB / 1.402 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/2.216, allocations: 16 kB / 1.402 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/2.216, allocations: 16 kB / 1.402 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/2.216, allocations: 237.9 kB / 1.403 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/2.217, allocations: 22.98 kB / 1.403 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/2.218, allocations: 129.9 kB / 1.403 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/2.218, allocations: 51.98 kB / 1.403 GB, free: 11.32 MB / 1.029 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.0002952/2.219, allocations: 240.2 kB / 1.403 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/2.219, allocations: 201.4 kB / 1.403 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/2.22, allocations: 433.2 kB / 1.404 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/2.22, allocations: 4 kB / 1.404 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/2.22, allocations: 0 / 1.404 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/2.22, allocations: 3.984 kB / 1.404 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/2.223, allocations: 1.797 MB / 1.405 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/2.223, allocations: 11.88 kB / 1.406 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/2.224, allocations: 54.39 kB / 1.406 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/2.224, allocations: 4.125 kB / 1.406 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/2.224, allocations: 12 kB / 1.406 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/2.224, allocations: 11.19 kB / 1.406 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.224, allocations: 8.25 kB / 1.406 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/2.225, allocations: 0.6551 MB / 1.406 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/2.225, allocations: 330.4 kB / 1.407 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/2.226, allocations: 12 kB / 1.407 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008957/2.227, allocations: 55.94 kB / 1.407 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/2.227, allocations: 26.92 kB / 1.407 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/2.227, allocations: 23.92 kB / 1.407 GB, free: 7.312 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002504/2.229, allocations: 1.531 MB / 1.408 GB, free: 5.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.5e-07/2.229, allocations: 0 / 1.408 GB, free: 5.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002717/2.232, allocations: 0.825 MB / 1.409 GB, free: 4.945 MB / 1.029 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.001178/2.233, allocations: 440.4 kB / 1.409 GB, free: 4.531 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003201/2.236, allocations: 1.452 MB / 1.411 GB, free: 3.168 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/2.236, allocations: 0 / 1.411 GB, free: 3.168 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/2.237, allocations: 142.7 kB / 1.411 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004521/2.241, allocations: 1.063 MB / 1.412 GB, free: 2.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/2.247, allocations: 3.596 MB / 1.415 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/2.248, allocations: 1.483 MB / 1.417 GB, free: 12.82 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002291/2.25, allocations: 452.6 kB / 1.417 GB, free: 12.38 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/2.25, allocations: 119.4 kB / 1.417 GB, free: 12.26 MB / 1.045 GB Notification: Performance of SimCode: time 8.12e-07/2.25, allocations: 0 / 1.417 GB, free: 12.26 MB / 1.045 GB Notification: Performance of Templates: time 0.06222/2.313, allocations: 35.59 MB / 1.452 GB, free: 9.227 MB / 1.076 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/jenkins/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