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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008734, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005617/0.005617, allocations: 170 kB / 16.27 MB, free: 6.66 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.328/2.328, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 12 kB / 0.8729 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.503, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7276/1.231, allocations: 298.9 MB / 1.315 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02356/1.254, allocations: 27.33 MB / 1.342 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/1.256, allocations: 69.34 kB / 1.342 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00672/1.263, allocations: 4.424 MB / 1.346 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005168/1.268, allocations: 2.736 MB / 1.349 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004561/1.273, allocations: 2.374 MB / 1.351 GB, free: 0.7227 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.007363/1.28, allocations: 8.602 MB / 1.359 GB, free: 0 / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/1.282, allocations: 1.451 MB / 1.361 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/1.284, allocations: 1.855 MB / 1.363 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/1.286, allocations: 1.255 MB / 1.364 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/1.286, allocations: 64.91 kB / 1.364 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0047/1.291, allocations: 3.48 MB / 1.367 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004711/1.292, allocations: 0.604 MB / 1.368 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008485/1.292, allocations: 1.096 MB / 1.369 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/1.297, allocations: 4.86 MB / 1.374 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.297, allocations: 3.984 kB / 1.374 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/1.297, allocations: 0 / 1.374 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.918e-05/1.297, allocations: 0 / 1.374 GB, free: 10.02 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.00299/1.3, allocations: 2.286 MB / 1.376 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/1.3, allocations: 17.42 kB / 1.376 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/1.3, allocations: 170.4 kB / 1.376 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00386/1.304, allocations: 0.7433 MB / 1.377 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007644/1.311, allocations: 5.54 MB / 1.382 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/1.312, allocations: 153.1 kB / 1.383 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.312, allocations: 116.5 kB / 1.383 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/1.314, allocations: 1.381 MB / 1.384 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/1.314, allocations: 6.219 kB / 1.384 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.314, allocations: 48.12 kB / 1.384 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/1.314, allocations: 40.58 kB / 1.384 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/1.316, allocations: 1.02 MB / 1.385 GB, free: 2.598 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.006697/1.323, allocations: 7.124 MB / 1.392 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/1.324, allocations: 312.6 kB / 1.392 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/1.324, allocations: 126.6 kB / 1.392 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/1.324, allocations: 190.2 kB / 1.393 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/1.324, allocations: 41 kB / 1.393 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003262/1.325, allocations: 85.2 kB / 1.393 GB, free: 11.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.273e-06/1.325, allocations: 3.281 kB / 1.393 GB, free: 11.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001294/1.326, allocations: 0.5577 MB / 1.393 GB, free: 11.58 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/1.326, allocations: 54.78 kB / 1.393 GB, free: 11.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/1.328, allocations: 2.256 MB / 1.396 GB, free: 10.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/1.328, allocations: 31.73 kB / 1.396 GB, free: 10.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006829/1.329, allocations: 0.9685 MB / 1.397 GB, free: 9.398 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/1.329, allocations: 75.34 kB / 1.397 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/1.329, allocations: 129 kB / 1.397 GB, free: 9.254 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.329, allocations: 357.7 kB / 1.397 GB, free: 8.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008144/1.33, allocations: 454.3 kB / 1.397 GB, free: 8.691 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.331, allocations: 0.8739 MB / 1.398 GB, free: 7.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/1.333, allocations: 1.187 MB / 1.4 GB, free: 6.633 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.333, allocations: 4 kB / 1.4 GB, free: 6.629 MB / 1.014 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002363/1.335, allocations: 1.496 MB / 1.401 GB, free: 5.203 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/1.336, allocations: 483.1 kB / 1.401 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.336, allocations: 12 kB / 1.401 GB, free: 4.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.336, allocations: 18.81 kB / 1.401 GB, free: 4.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/1.336, allocations: 242.8 kB / 1.402 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/1.336, allocations: 21.81 kB / 1.402 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/1.338, allocations: 161.4 kB / 1.402 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/1.338, allocations: 47.98 kB / 1.402 GB, free: 4.086 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/1.338, allocations: 4.938 kB / 1.402 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00196/1.34, allocations: 1.269 MB / 1.403 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.34, allocations: 14.91 kB / 1.403 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.34, allocations: 20 kB / 1.403 GB, free: 2.859 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/1.34, allocations: 231.1 kB / 1.403 GB, free: 2.648 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/1.34, allocations: 30.2 kB / 1.403 GB, free: 2.625 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009188/1.341, allocations: 121.5 kB / 1.404 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/1.341, allocations: 51.98 kB / 1.404 GB, free: 2.453 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.0006532/1.342, allocations: 0.6463 MB / 1.404 GB, free: 1.812 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/1.342, allocations: 197.5 kB / 1.404 GB, free: 1.617 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/1.343, allocations: 171.7 kB / 1.405 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.343, allocations: 3.938 kB / 1.405 GB, free: 1.445 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.343, allocations: 0 / 1.405 GB, free: 1.445 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.343, allocations: 4 kB / 1.405 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/1.345, allocations: 1.939 MB / 1.406 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/1.345, allocations: 4 kB / 1.406 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/1.346, allocations: 59.05 kB / 1.407 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.346, allocations: 8.188 kB / 1.407 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/1.346, allocations: 12 kB / 1.407 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.346, allocations: 6.625 kB / 1.407 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.346, allocations: 7.656 kB / 1.407 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/1.347, allocations: 0.5934 MB / 1.407 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/1.347, allocations: 326.5 kB / 1.407 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/1.347, allocations: 11.94 kB / 1.407 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/1.348, allocations: 71.94 kB / 1.408 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/1.348, allocations: 33.2 kB / 1.408 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/1.348, allocations: 19.98 kB / 1.408 GB, free: 14.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001873/1.35, allocations: 1.531 MB / 1.409 GB, free: 12.65 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/1.35, allocations: 0 / 1.409 GB, free: 12.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0017/1.352, allocations: 0.8191 MB / 1.41 GB, free: 11.83 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.001716/1.353, allocations: 1.482 MB / 1.411 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002366/1.356, allocations: 1.443 MB / 1.413 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.356, allocations: 2.344 kB / 1.413 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/1.356, allocations: 137.2 kB / 1.413 GB, free: 8.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004839/1.361, allocations: 1.004 MB / 1.414 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03056/1.391, allocations: 15.58 MB / 1.429 GB, free: 7.043 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.393, allocations: 1.481 MB / 1.431 GB, free: 5.527 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001618/1.394, allocations: 452.5 kB / 1.431 GB, free: 5.082 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009019/1.395, allocations: 0.7219 MB / 1.432 GB, free: 4.359 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/1.395, allocations: 0 / 1.432 GB, free: 4.359 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.056/4.451, allocations: 50.35 MB / 1.481 GB, free: 2.66 MB / 1.092 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/4.451, allocations: 201.1 kB / 1.481 GB, free: 2.406 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/12.3, allocations: 0 / 1.481 GB, free: 2.406 MB / 1.092 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > 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