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.0008162/0.0008162, allocations: 98.03 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.005951/0.005951, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 443.3 MB / 0.7175 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004514, allocations: 8.75 kB / 0.8796 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4095, allocations: 155.2 MB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.219/1.628, allocations: 306.6 MB / 1.331 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04076/1.669, allocations: 29.22 MB / 1.359 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005008/1.674, allocations: 72.94 kB / 1.359 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01087/1.685, allocations: 4.55 MB / 1.364 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/1.696, allocations: 2.841 MB / 1.366 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007426/1.703, allocations: 2.384 MB / 1.369 GB, free: 0.7461 MB / 0.9981 GB [/var/lib/jenkins/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.01385/1.717, allocations: 8.972 MB / 1.377 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003619/1.721, allocations: 1.638 MB / 1.379 GB, free: 428 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006627/1.727, allocations: 1.94 MB / 1.381 GB, free: 400 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004662/1.732, allocations: 1.383 MB / 1.382 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000569/1.732, allocations: 68.66 kB / 1.382 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/1.742, allocations: 3.846 MB / 1.386 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00169/1.744, allocations: 0.6176 MB / 1.387 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/1.747, allocations: 1.176 MB / 1.388 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01141/1.758, allocations: 5.312 MB / 1.393 GB, free: 10.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.758, allocations: 2.656 kB / 1.393 GB, free: 10.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/1.758, allocations: 0 / 1.393 GB, free: 10.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.858e-05/1.758, allocations: 0 / 1.393 GB, free: 10.91 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.005383/1.764, allocations: 2.449 MB / 1.395 GB, free: 9.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/1.764, allocations: 13.11 kB / 1.395 GB, free: 9.066 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006059/1.77, allocations: 0.9896 MB / 1.396 GB, free: 8.645 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/1.78, allocations: 5.623 MB / 1.402 GB, free: 4.949 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/1.781, allocations: 172.5 kB / 1.402 GB, free: 4.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/1.781, allocations: 129.2 kB / 1.402 GB, free: 4.836 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/1.784, allocations: 1.62 MB / 1.404 GB, free: 3.836 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/1.784, allocations: 4 kB / 1.404 GB, free: 3.832 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/1.785, allocations: 51.53 kB / 1.404 GB, free: 3.793 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/1.785, allocations: 50.83 kB / 1.404 GB, free: 3.789 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/1.788, allocations: 1.379 MB / 1.405 GB, free: 3.102 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.01214/1.8, allocations: 7.525 MB / 1.413 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/1.802, allocations: 0.6643 MB / 1.413 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006498/1.803, allocations: 274.8 kB / 1.414 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/1.803, allocations: 195.1 kB / 1.414 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.803, allocations: 35.31 kB / 1.414 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001157/1.804, allocations: 101.8 kB / 1.414 GB, free: 11.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.835e-06/1.804, allocations: 0 / 1.414 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.003012/1.807, allocations: 1.089 MB / 1.415 GB, free: 11.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.807, allocations: 56.53 kB / 1.415 GB, free: 11.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/1.811, allocations: 2.357 MB / 1.417 GB, free: 9.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.811, allocations: 37.08 kB / 1.417 GB, free: 9.801 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009251/1.812, allocations: 0.9632 MB / 1.418 GB, free: 8.961 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/1.812, allocations: 144.5 kB / 1.418 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/1.812, allocations: 116 kB / 1.418 GB, free: 8.766 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.813, allocations: 351.5 kB / 1.419 GB, free: 8.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.814, allocations: 0.5377 MB / 1.419 GB, free: 8.145 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/1.815, allocations: 0.8116 MB / 1.42 GB, free: 7.215 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/1.817, allocations: 1.149 MB / 1.421 GB, free: 5.996 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/1.817, allocations: 4 kB / 1.421 GB, free: 5.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003635/1.821, allocations: 1.687 MB / 1.423 GB, free: 4.316 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/1.821, allocations: 313.8 kB / 1.423 GB, free: 3.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.821, allocations: 8 kB / 1.423 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/1.822, allocations: 35.94 kB / 1.423 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.823, allocations: 247.7 kB / 1.423 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/1.824, allocations: 1.416 MB / 1.425 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/1.826, allocations: 212.6 kB / 1.425 GB, free: 1.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/1.826, allocations: 43.98 kB / 1.425 GB, free: 1.852 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/1.826, allocations: 4 kB / 1.425 GB, free: 1.848 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002935/1.829, allocations: 1.436 MB / 1.427 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.829, allocations: 8 kB / 1.427 GB, free: 436 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/1.83, allocations: 40.78 kB / 1.427 GB, free: 392 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.831, allocations: 240.9 kB / 1.427 GB, free: 164 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/1.832, allocations: 1.419 MB / 1.428 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/1.834, allocations: 184.6 kB / 1.428 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/1.834, allocations: 36 kB / 1.428 GB, free: 14.41 MB / 1.045 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.001338/1.835, allocations: 0.6638 MB / 1.429 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/1.836, allocations: 201.4 kB / 1.429 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/1.837, allocations: 0.7939 MB / 1.43 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.838, allocations: 4 kB / 1.43 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/1.838, allocations: 0 / 1.43 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.838, allocations: 4 kB / 1.43 GB, free: 12.71 MB / 1.045 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.003962/1.841, allocations: 2.2 MB / 1.432 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.842, allocations: 4 kB / 1.432 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/1.842, allocations: 90.91 kB / 1.432 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.139e-05/1.842, allocations: 36.78 kB / 1.432 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/1.842, allocations: 19.92 kB / 1.432 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/1.843, allocations: 1.393 MB / 1.434 GB, free: 8.766 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.843, allocations: 0 / 1.434 GB, free: 8.766 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/1.845, allocations: 0.9223 MB / 1.435 GB, free: 7.789 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006969/1.846, allocations: 362.3 kB / 1.435 GB, free: 7.414 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/1.846, allocations: 8 kB / 1.435 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.847, allocations: 115.7 kB / 1.435 GB, free: 7.293 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/1.847, allocations: 23.06 kB / 1.435 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/1.847, allocations: 23.98 kB / 1.435 GB, free: 7.25 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002767/1.85, allocations: 1.639 MB / 1.437 GB, free: 5.602 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.41e-07/1.85, allocations: 4 kB / 1.437 GB, free: 5.598 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002782/1.853, allocations: 0.9047 MB / 1.438 GB, free: 4.691 MB / 1.045 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.0009822/1.854, allocations: 447.6 kB / 1.438 GB, free: 4.266 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004083/1.858, allocations: 1.876 MB / 1.44 GB, free: 2.422 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.858, allocations: 4.062 kB / 1.44 GB, free: 2.418 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007786/1.859, allocations: 369.1 kB / 1.44 GB, free: 2.055 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00648/1.865, allocations: 1.158 MB / 1.441 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/1.872, allocations: 3.931 MB / 1.445 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/1.873, allocations: 1.541 MB / 1.447 GB, free: 11.35 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002448/1.876, allocations: 469.8 kB / 1.447 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/1.876, allocations: 139.4 kB / 1.447 GB, free: 10.75 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/1.876, allocations: 0 / 1.447 GB, free: 10.75 MB / 1.061 GB Notification: Performance of Templates: time 0.07605/1.952, allocations: 40.35 MB / 1.487 GB, free: 2.973 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches