Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,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_9_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_9_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.01081/0.01081, allocations: 102 kB / 15.73 MB, free: 6.055 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.002333/0.002333, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197/1.199, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMac.com.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.401/1.6, allocations: 312.3 MB / 1.393 GB, free: 4.961 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03924/1.639, allocations: 27.54 MB / 1.42 GB, free: 9.34 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004394/1.643, allocations: 83.56 kB / 1.42 GB, free: 9.258 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005431/1.649, allocations: 1.624 MB / 1.421 GB, free: 7.625 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009931/1.659, allocations: 3.127 MB / 1.424 GB, free: 4.488 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007691/1.667, allocations: 2.658 MB / 1.427 GB, free: 1.832 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008283/1.675, allocations: 4.641 MB / 1.432 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003506/1.678, allocations: 2.041 MB / 1.434 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006019/1.684, allocations: 2.453 MB / 1.436 GB, free: 8.633 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/1.688, allocations: 1.449 MB / 1.437 GB, free: 7.184 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005416/1.689, allocations: 244 kB / 1.438 GB, free: 6.945 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007633/1.696, allocations: 3.438 MB / 1.441 GB, free: 3.5 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/1.698, allocations: 0.6894 MB / 1.442 GB, free: 2.809 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002091/1.7, allocations: 1.198 MB / 1.443 GB, free: 1.605 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009978/1.71, allocations: 4.729 MB / 1.447 GB, free: 12.86 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.71, allocations: 0 / 1.447 GB, free: 12.86 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/1.71, allocations: 0 / 1.447 GB, free: 12.86 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.127e-05/1.71, allocations: 0 / 1.447 GB, free: 12.86 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.00492/1.715, allocations: 2.5 MB / 1.45 GB, free: 10.3 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.715, allocations: 11.97 kB / 1.45 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/1.72, allocations: 0.8911 MB / 1.451 GB, free: 9.391 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004298/1.725, allocations: 2.116 MB / 1.453 GB, free: 7.219 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/1.725, allocations: 102.6 kB / 1.453 GB, free: 7.117 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/1.725, allocations: 140 kB / 1.453 GB, free: 6.98 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/1.729, allocations: 1.666 MB / 1.455 GB, free: 5.25 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/1.729, allocations: 3.984 kB / 1.455 GB, free: 5.246 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/1.729, allocations: 56 kB / 1.455 GB, free: 5.191 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/1.729, allocations: 50.48 kB / 1.455 GB, free: 5.141 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003965/1.733, allocations: 1.532 MB / 1.456 GB, free: 3.602 MB / 1.186 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.0111/1.744, allocations: 7.549 MB / 1.464 GB, free: 11.53 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/1.747, allocations: 0.703 MB / 1.464 GB, free: 10.82 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008537/1.748, allocations: 308.7 kB / 1.465 GB, free: 10.52 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/1.748, allocations: 190.2 kB / 1.465 GB, free: 10.29 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/1.748, allocations: 38.56 kB / 1.465 GB, free: 10.25 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.544e-06/1.748, allocations: 0 / 1.465 GB, free: 10.25 MB / 1.201 GB Notification: Performance of matching and sorting (n=36): time 0.003719/1.752, allocations: 1.365 MB / 1.466 GB, free: 8.793 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/1.752, allocations: 55.41 kB / 1.466 GB, free: 8.727 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/1.755, allocations: 1.856 MB / 1.468 GB, free: 6.828 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.349e-05/1.755, allocations: 29.7 kB / 1.468 GB, free: 6.793 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/1.756, allocations: 0.8276 MB / 1.469 GB, free: 5.957 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.756, allocations: 126.1 kB / 1.469 GB, free: 5.832 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/1.756, allocations: 154.1 kB / 1.469 GB, free: 5.676 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.756, allocations: 326 kB / 1.469 GB, free: 5.352 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/1.758, allocations: 423.2 kB / 1.47 GB, free: 4.934 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/1.759, allocations: 0.6409 MB / 1.471 GB, free: 4.188 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/1.761, allocations: 0.8782 MB / 1.471 GB, free: 3.223 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.761, allocations: 0 / 1.471 GB, free: 3.223 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003488/1.765, allocations: 1.386 MB / 1.473 GB, free: 1.785 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.765, allocations: 11.94 kB / 1.473 GB, free: 1.773 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.765, allocations: 8 kB / 1.473 GB, free: 1.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/1.765, allocations: 65.67 kB / 1.473 GB, free: 1.695 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.766, allocations: 207.8 kB / 1.473 GB, free: 1.492 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/1.768, allocations: 3.133 MB / 1.476 GB, free: 14.08 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/1.771, allocations: 271.2 kB / 1.476 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/1.771, allocations: 35.97 kB / 1.476 GB, free: 13.78 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001895/1.773, allocations: 0.755 MB / 1.477 GB, free: 13.02 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001397/1.774, allocations: 0.6146 MB / 1.478 GB, free: 12.3 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001934/1.776, allocations: 0.8082 MB / 1.478 GB, free: 11.4 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/1.776, allocations: 4 kB / 1.478 GB, free: 11.4 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.00325/1.779, allocations: 1.323 MB / 1.48 GB, free: 10.02 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.779, allocations: 8.344 kB / 1.48 GB, free: 10.02 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.779, allocations: 12 kB / 1.48 GB, free: 10 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/1.779, allocations: 57.64 kB / 1.48 GB, free: 9.941 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.78, allocations: 195.7 kB / 1.48 GB, free: 9.75 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/1.783, allocations: 3.148 MB / 1.483 GB, free: 6.324 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/1.785, allocations: 196.1 kB / 1.483 GB, free: 6.133 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/1.785, allocations: 31.98 kB / 1.483 GB, free: 6.102 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002982/1.785, allocations: 212.1 kB / 1.484 GB, free: 5.887 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/1.785, allocations: 173.8 kB / 1.484 GB, free: 5.715 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/1.788, allocations: 0.9641 MB / 1.485 GB, free: 4.695 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.788, allocations: 4 kB / 1.485 GB, free: 4.691 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.788, allocations: 7.938 kB / 1.485 GB, free: 4.684 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.788, allocations: 0 / 1.485 GB, free: 4.684 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/1.791, allocations: 2.145 MB / 1.487 GB, free: 2.418 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.791, allocations: 4 kB / 1.487 GB, free: 2.414 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006712/1.792, allocations: 104 kB / 1.487 GB, free: 2.312 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/1.792, allocations: 45.7 kB / 1.487 GB, free: 2.262 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/1.792, allocations: 15.98 kB / 1.487 GB, free: 2.246 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/1.794, allocations: 3.132 MB / 1.49 GB, free: 14.84 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.794, allocations: 8.125 kB / 1.49 GB, free: 14.83 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/1.797, allocations: 1.025 MB / 1.491 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/1.797, allocations: 326.8 kB / 1.491 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/1.798, allocations: 11.94 kB / 1.491 GB, free: 13.38 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.799, allocations: 95.91 kB / 1.491 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/1.799, allocations: 23.97 kB / 1.491 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/1.799, allocations: 19.97 kB / 1.491 GB, free: 13.24 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002297/1.801, allocations: 1.313 MB / 1.493 GB, free: 11.9 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.844e-06/1.801, allocations: 0 / 1.493 GB, free: 11.9 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00282/1.804, allocations: 0.7602 MB / 1.493 GB, free: 11.14 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0007296/1.805, allocations: 311 kB / 1.494 GB, free: 10.82 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00433/1.809, allocations: 1.724 MB / 1.495 GB, free: 9.051 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.809, allocations: 0 / 1.495 GB, free: 9.051 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/1.81, allocations: 0.5101 MB / 1.496 GB, free: 8.516 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004784/1.815, allocations: 1.04 MB / 1.497 GB, free: 7.492 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/1.821, allocations: 2.68 MB / 1.5 GB, free: 4.766 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.822, allocations: 1.344 MB / 1.501 GB, free: 3.395 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001895/1.824, allocations: 375 kB / 1.501 GB, free: 3.023 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/1.824, allocations: 123.4 kB / 1.501 GB, free: 2.902 MB / 1.232 GB Notification: Performance of SimCode: time 1.223e-06/1.824, allocations: 0 / 1.501 GB, free: 2.902 MB / 1.232 GB Notification: Performance of Templates: time 0.0643/1.889, allocations: 35.68 MB / 1.536 GB, free: 15.64 MB / 1.279 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches