Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001151, allocations: 92.08 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.001584/0.001584, allocations: 175.4 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.501/1.501, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.838/2.838, allocations: 462.6 MB / 0.737 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003577, allocations: 12.25 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3435, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9354/1.279, allocations: 306.6 MB / 1.359 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03285/1.312, allocations: 29.22 MB / 1.387 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00414/1.316, allocations: 72.81 kB / 1.387 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01047/1.327, allocations: 4.553 MB / 1.392 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009395/1.336, allocations: 2.843 MB / 1.395 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006988/1.343, allocations: 2.368 MB / 1.397 GB, free: 13.62 MB / 1.014 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.01318/1.356, allocations: 8.979 MB / 1.406 GB, free: 9.984 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003703/1.36, allocations: 1.639 MB / 1.407 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005394/1.365, allocations: 1.941 MB / 1.409 GB, free: 8.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003895/1.369, allocations: 1.378 MB / 1.411 GB, free: 7.383 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006011/1.37, allocations: 69.72 kB / 1.411 GB, free: 7.383 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009109/1.379, allocations: 3.841 MB / 1.414 GB, free: 5.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00132/1.38, allocations: 0.619 MB / 1.415 GB, free: 5.129 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003047/1.383, allocations: 1.187 MB / 1.416 GB, free: 4.355 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0063/1.39, allocations: 4.12 MB / 1.42 GB, free: 1.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.39, allocations: 0 / 1.42 GB, free: 1.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.364e-06/1.39, allocations: 0 / 1.42 GB, free: 1.68 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001217/1.39, allocations: 0 / 1.42 GB, free: 1.68 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005936/1.396, allocations: 2.452 MB / 1.423 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.396, allocations: 9.906 kB / 1.423 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006428/1.402, allocations: 0.992 MB / 1.423 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.414, allocations: 5.628 MB / 1.429 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/1.414, allocations: 171 kB / 1.429 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004411/1.415, allocations: 132 kB / 1.429 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0045/1.419, allocations: 1.607 MB / 1.431 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/1.419, allocations: 0 / 1.431 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/1.419, allocations: 52 kB / 1.431 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/1.42, allocations: 50.5 kB / 1.431 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/1.423, allocations: 1.384 MB / 1.432 GB, free: 8.258 MB / 1.029 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.0146/1.438, allocations: 7.53 MB / 1.44 GB, free: 280 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/1.44, allocations: 0.6662 MB / 1.44 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/1.441, allocations: 275.8 kB / 1.441 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/1.441, allocations: 190.2 kB / 1.441 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/1.441, allocations: 42.56 kB / 1.441 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001052/1.442, allocations: 98.66 kB / 1.441 GB, free: 14.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=36): time 3.777e-06/1.442, allocations: 0 / 1.441 GB, free: 14.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=36): time 0.003261/1.445, allocations: 1.083 MB / 1.442 GB, free: 13.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/1.445, allocations: 55.41 kB / 1.442 GB, free: 13.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005252/1.451, allocations: 2.368 MB / 1.444 GB, free: 11.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.451, allocations: 30.58 kB / 1.444 GB, free: 11.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.452, allocations: 0.9607 MB / 1.445 GB, free: 10.36 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/1.452, allocations: 142 kB / 1.445 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/1.452, allocations: 117.6 kB / 1.446 GB, free: 10.11 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.453, allocations: 345.9 kB / 1.446 GB, free: 9.762 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/1.454, allocations: 0.541 MB / 1.446 GB, free: 9.215 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/1.456, allocations: 0.809 MB / 1.447 GB, free: 8.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/1.458, allocations: 1.156 MB / 1.448 GB, free: 7.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.458, allocations: 7.938 kB / 1.448 GB, free: 7.027 MB / 1.045 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003782/1.462, allocations: 1.691 MB / 1.45 GB, free: 5.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002498/1.462, allocations: 308.7 kB / 1.45 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/1.462, allocations: 8 kB / 1.45 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/1.462, allocations: 32.84 kB / 1.45 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.464, allocations: 243.7 kB / 1.451 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/1.465, allocations: 1.416 MB / 1.452 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/1.467, allocations: 220.6 kB / 1.452 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.467, allocations: 39.98 kB / 1.452 GB, free: 2.816 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/1.467, allocations: 4 kB / 1.452 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003062/1.47, allocations: 1.449 MB / 1.454 GB, free: 1.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/1.471, allocations: 8 kB / 1.454 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/1.471, allocations: 36.84 kB / 1.454 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.472, allocations: 232 kB / 1.454 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/1.473, allocations: 1.409 MB / 1.455 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/1.475, allocations: 186.6 kB / 1.455 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.475, allocations: 47.98 kB / 1.455 GB, free: 15.3 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001294/1.476, allocations: 0.6492 MB / 1.456 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/1.477, allocations: 201.4 kB / 1.456 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/1.479, allocations: 0.8027 MB / 1.457 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.479, allocations: 8 kB / 1.457 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.479, allocations: 4 kB / 1.457 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.479, allocations: 0 / 1.457 GB, free: 13.59 MB / 1.061 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 postOpt removeSimpleEquations (simulation): time 0.00478/1.484, allocations: 2.202 MB / 1.459 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/1.484, allocations: 4 kB / 1.459 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/1.484, allocations: 88.09 kB / 1.459 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.95e-05/1.484, allocations: 32.84 kB / 1.459 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/1.484, allocations: 11.98 kB / 1.459 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/1.486, allocations: 1.404 MB / 1.461 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.486, allocations: 4 kB / 1.461 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/1.487, allocations: 0.9017 MB / 1.462 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009395/1.488, allocations: 366.2 kB / 1.462 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/1.489, allocations: 15.98 kB / 1.462 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/1.49, allocations: 111.8 kB / 1.462 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/1.49, allocations: 27.91 kB / 1.462 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/1.491, allocations: 11.98 kB / 1.462 GB, free: 8.117 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003373/1.494, allocations: 1.65 MB / 1.464 GB, free: 6.457 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.31e-07/1.494, allocations: 0 / 1.464 GB, free: 6.457 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003196/1.497, allocations: 0.9046 MB / 1.465 GB, free: 5.551 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/1.498, allocations: 454.8 kB / 1.465 GB, free: 5.113 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004385/1.503, allocations: 1.875 MB / 1.467 GB, free: 3.215 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.503, allocations: 1.25 kB / 1.467 GB, free: 3.215 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/1.504, allocations: 371.1 kB / 1.467 GB, free: 2.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006672/1.51, allocations: 1.164 MB / 1.468 GB, free: 1.691 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/1.518, allocations: 4.056 MB / 1.472 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/1.52, allocations: 1.534 MB / 1.474 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/1.52, allocations: 151.4 kB / 1.474 GB, free: 11.86 MB / 1.076 GB Notification: Performance of SimCode: time 8.32e-07/1.52, allocations: 0 / 1.474 GB, free: 11.86 MB / 1.076 GB Notification: Performance of Templates: time 0.07088/1.591, allocations: 46.68 MB / 1.52 GB, free: 13.36 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches