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.007335/0.007335, allocations: 105.9 kB / 15.73 MB, free: 6.047 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.001615/0.001615, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.439/1.439, 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.343/2.343, allocations: 390.2 MB / 0.6648 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001479, allocations: 67.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221/1.223, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3783/1.601, allocations: 312.3 MB / 1.393 GB, free: 4.941 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03618/1.637, allocations: 27.54 MB / 1.42 GB, free: 9.32 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004289/1.642, allocations: 83.56 kB / 1.42 GB, free: 9.238 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005185/1.647, allocations: 1.581 MB / 1.421 GB, free: 7.648 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009706/1.656, allocations: 3.013 MB / 1.424 GB, free: 4.625 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007425/1.664, allocations: 2.629 MB / 1.427 GB, free: 2 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.007744/1.672, allocations: 4.624 MB / 1.431 GB, free: 13.36 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/1.675, allocations: 2.048 MB / 1.433 GB, free: 11.27 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005768/1.681, allocations: 2.398 MB / 1.436 GB, free: 8.863 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/1.684, allocations: 1.455 MB / 1.437 GB, free: 7.406 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005068/1.685, allocations: 244 kB / 1.437 GB, free: 7.168 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007713/1.692, allocations: 3.426 MB / 1.441 GB, free: 3.734 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009504/1.693, allocations: 0.6855 MB / 1.441 GB, free: 3.047 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001762/1.695, allocations: 1.19 MB / 1.443 GB, free: 1.852 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009238/1.704, allocations: 4.733 MB / 1.447 GB, free: 13.11 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/1.704, allocations: 0 / 1.447 GB, free: 13.11 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.254e-06/1.704, allocations: 0 / 1.447 GB, free: 13.11 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.528e-05/1.704, allocations: 0 / 1.447 GB, free: 13.11 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.005088/1.71, allocations: 2.504 MB / 1.45 GB, free: 10.54 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.71, allocations: 8.031 kB / 1.45 GB, free: 10.53 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/1.715, allocations: 0.895 MB / 1.451 GB, free: 9.629 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004369/1.72, allocations: 2.12 MB / 1.453 GB, free: 7.453 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/1.72, allocations: 102.6 kB / 1.453 GB, free: 7.352 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/1.72, allocations: 132 kB / 1.453 GB, free: 7.223 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/1.724, allocations: 1.67 MB / 1.454 GB, free: 5.488 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.724, allocations: 0 / 1.454 GB, free: 5.488 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.724, allocations: 52 kB / 1.454 GB, free: 5.438 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/1.724, allocations: 46.5 kB / 1.455 GB, free: 5.391 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/1.728, allocations: 1.536 MB / 1.456 GB, free: 3.848 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.01183/1.74, allocations: 7.549 MB / 1.463 GB, free: 11.78 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/1.743, allocations: 0.7107 MB / 1.464 GB, free: 11.06 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/1.743, allocations: 312.7 kB / 1.464 GB, free: 10.75 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/1.744, allocations: 186.2 kB / 1.465 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.744, allocations: 42.56 kB / 1.465 GB, free: 10.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.315e-06/1.744, allocations: 0 / 1.465 GB, free: 10.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=36): time 0.003986/1.748, allocations: 1.362 MB / 1.466 GB, free: 9.035 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/1.748, allocations: 55.41 kB / 1.466 GB, free: 8.969 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/1.751, allocations: 1.856 MB / 1.468 GB, free: 7.07 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/1.751, allocations: 33.7 kB / 1.468 GB, free: 7.031 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007539/1.752, allocations: 0.8193 MB / 1.469 GB, free: 6.203 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/1.752, allocations: 130.1 kB / 1.469 GB, free: 6.074 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/1.752, allocations: 150.2 kB / 1.469 GB, free: 5.922 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.752, allocations: 330 kB / 1.469 GB, free: 5.594 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/1.754, allocations: 423.2 kB / 1.47 GB, free: 5.176 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/1.755, allocations: 0.6409 MB / 1.47 GB, free: 4.43 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/1.758, allocations: 0.8782 MB / 1.471 GB, free: 3.465 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/1.758, allocations: 0 / 1.471 GB, free: 3.465 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003708/1.761, allocations: 1.385 MB / 1.472 GB, free: 2.027 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/1.761, allocations: 11.94 kB / 1.472 GB, free: 2.016 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/1.761, allocations: 8 kB / 1.472 GB, free: 2.008 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/1.762, allocations: 57.7 kB / 1.473 GB, free: 1.945 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.763, allocations: 212 kB / 1.473 GB, free: 1.738 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/1.766, allocations: 3.137 MB / 1.476 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/1.769, allocations: 263.2 kB / 1.476 GB, free: 14.06 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.769, allocations: 39.97 kB / 1.476 GB, free: 14.02 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002585/1.772, allocations: 0.755 MB / 1.477 GB, free: 13.27 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001577/1.773, allocations: 0.6184 MB / 1.477 GB, free: 12.54 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002272/1.775, allocations: 0.8044 MB / 1.478 GB, free: 11.65 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.258e-05/1.776, allocations: 4 kB / 1.478 GB, free: 11.64 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.004516/1.78, allocations: 1.323 MB / 1.48 GB, free: 10.27 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.78, allocations: 8 kB / 1.48 GB, free: 10.26 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/1.78, allocations: 8 kB / 1.48 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/1.78, allocations: 65.62 kB / 1.48 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.782, allocations: 199.8 kB / 1.48 GB, free: 9.988 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/1.784, allocations: 3.136 MB / 1.483 GB, free: 6.574 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/1.786, allocations: 196.1 kB / 1.483 GB, free: 6.383 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.195e-05/1.787, allocations: 35.92 kB / 1.483 GB, free: 6.348 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.0003317/1.787, allocations: 212.1 kB / 1.483 GB, free: 6.133 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/1.787, allocations: 173.8 kB / 1.483 GB, free: 5.961 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/1.79, allocations: 0.9639 MB / 1.484 GB, free: 4.941 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/1.79, allocations: 4 kB / 1.484 GB, free: 4.938 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.79, allocations: 7.938 kB / 1.484 GB, free: 4.93 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.79, allocations: 0 / 1.484 GB, free: 4.93 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/1.795, allocations: 2.141 MB / 1.486 GB, free: 2.668 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.795, allocations: 4 kB / 1.486 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000698/1.796, allocations: 107.9 kB / 1.487 GB, free: 2.559 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001371/1.796, allocations: 49.77 kB / 1.487 GB, free: 2.504 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/1.796, allocations: 11.98 kB / 1.487 GB, free: 2.492 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/1.798, allocations: 3.136 MB / 1.49 GB, free: 15.07 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.798, allocations: 4.031 kB / 1.49 GB, free: 15.07 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/1.8, allocations: 1.021 MB / 1.491 GB, free: 13.97 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007881/1.801, allocations: 326.8 kB / 1.491 GB, free: 13.63 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/1.802, allocations: 15.98 kB / 1.491 GB, free: 13.62 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/1.803, allocations: 95.84 kB / 1.491 GB, free: 13.52 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/1.803, allocations: 27.97 kB / 1.491 GB, free: 13.5 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/1.803, allocations: 19.98 kB / 1.491 GB, free: 13.48 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00266/1.806, allocations: 1.309 MB / 1.492 GB, free: 12.14 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.9e-07/1.806, allocations: 3.938 kB / 1.492 GB, free: 12.14 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002882/1.809, allocations: 0.7563 MB / 1.493 GB, free: 11.38 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.0008794/1.81, allocations: 314.9 kB / 1.493 GB, free: 11.06 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004644/1.814, allocations: 1.724 MB / 1.495 GB, free: 9.289 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.814, allocations: 1 kB / 1.495 GB, free: 9.289 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.815, allocations: 0.5091 MB / 1.496 GB, free: 8.754 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004777/1.82, allocations: 1.023 MB / 1.497 GB, free: 7.742 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/1.826, allocations: 2.685 MB / 1.499 GB, free: 5.008 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/1.827, allocations: 1.352 MB / 1.501 GB, free: 3.629 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001906/1.829, allocations: 371 kB / 1.501 GB, free: 3.262 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/1.829, allocations: 123.4 kB / 1.501 GB, free: 3.141 MB / 1.232 GB Notification: Performance of SimCode: time 8.32e-07/1.829, allocations: 0 / 1.501 GB, free: 3.141 MB / 1.232 GB Notification: Performance of Templates: time 0.06879/1.898, allocations: 35.67 MB / 1.536 GB, free: 15.89 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