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.001482/0.001482, allocations: 110.8 kB / 16.41 MB, free: 6.477 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.001199/0.001199, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.362/1.362, allocations: 222.9 MB / 241 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.24/2.24, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8811/0.8824, allocations: 140.4 MB / 1.089 GB, free: 5.523 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.3435/1.226, allocations: 312.3 MB / 1.394 GB, free: 4.988 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03256/1.259, allocations: 27.53 MB / 1.42 GB, free: 9.375 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/1.262, allocations: 79.56 kB / 1.421 GB, free: 9.297 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004402/1.266, allocations: 1.624 MB / 1.422 GB, free: 7.664 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007598/1.274, allocations: 3.134 MB / 1.425 GB, free: 4.52 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006045/1.28, allocations: 2.657 MB / 1.428 GB, free: 1.871 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006481/1.286, allocations: 4.633 MB / 1.432 GB, free: 13.22 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/1.289, allocations: 2.041 MB / 1.434 GB, free: 11.14 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005037/1.294, allocations: 2.449 MB / 1.437 GB, free: 8.68 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/1.297, allocations: 1.456 MB / 1.438 GB, free: 7.223 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005111/1.298, allocations: 240 kB / 1.438 GB, free: 6.988 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006451/1.304, allocations: 3.45 MB / 1.442 GB, free: 3.531 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008989/1.305, allocations: 0.6856 MB / 1.442 GB, free: 2.844 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00155/1.307, allocations: 1.186 MB / 1.444 GB, free: 1.652 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007593/1.315, allocations: 4.737 MB / 1.448 GB, free: 12.9 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.315, allocations: 0 / 1.448 GB, free: 12.9 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.883e-06/1.315, allocations: 0 / 1.448 GB, free: 12.9 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.684e-05/1.315, allocations: 0 / 1.448 GB, free: 12.9 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.004624/1.319, allocations: 2.5 MB / 1.451 GB, free: 10.34 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.319, allocations: 8.031 kB / 1.451 GB, free: 10.33 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/1.325, allocations: 0.895 MB / 1.451 GB, free: 9.43 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004482/1.33, allocations: 2.124 MB / 1.454 GB, free: 7.25 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/1.33, allocations: 102.6 kB / 1.454 GB, free: 7.148 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/1.33, allocations: 131.9 kB / 1.454 GB, free: 7.02 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/1.334, allocations: 1.666 MB / 1.455 GB, free: 5.289 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.334, allocations: 0 / 1.455 GB, free: 5.289 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/1.334, allocations: 55.98 kB / 1.455 GB, free: 5.234 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/1.334, allocations: 54.44 kB / 1.455 GB, free: 5.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003986/1.338, allocations: 1.532 MB / 1.457 GB, free: 3.641 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.01037/1.348, allocations: 7.545 MB / 1.464 GB, free: 11.57 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/1.351, allocations: 0.7139 MB / 1.465 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/1.352, allocations: 304.7 kB / 1.465 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/1.352, allocations: 198.7 kB / 1.466 GB, free: 10.32 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/1.352, allocations: 42.56 kB / 1.466 GB, free: 10.27 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.134e-06/1.352, allocations: 0 / 1.466 GB, free: 10.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=36): time 0.003707/1.356, allocations: 1.357 MB / 1.467 GB, free: 8.828 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/1.356, allocations: 55.41 kB / 1.467 GB, free: 8.762 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/1.359, allocations: 1.852 MB / 1.469 GB, free: 6.867 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/1.36, allocations: 37.7 kB / 1.469 GB, free: 6.824 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008371/1.36, allocations: 0.8154 MB / 1.47 GB, free: 6 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/1.361, allocations: 130.1 kB / 1.47 GB, free: 5.871 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/1.361, allocations: 150.2 kB / 1.47 GB, free: 5.719 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.361, allocations: 338 kB / 1.47 GB, free: 5.383 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/1.362, allocations: 411.2 kB / 1.471 GB, free: 4.977 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/1.364, allocations: 0.6409 MB / 1.471 GB, free: 4.23 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/1.366, allocations: 0.8782 MB / 1.472 GB, free: 3.266 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.366, allocations: 4 kB / 1.472 GB, free: 3.262 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00366/1.37, allocations: 1.389 MB / 1.473 GB, free: 1.82 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.37, allocations: 11.94 kB / 1.473 GB, free: 1.809 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.37, allocations: 4 kB / 1.473 GB, free: 1.805 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/1.37, allocations: 57.64 kB / 1.473 GB, free: 1.742 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.371, allocations: 216 kB / 1.474 GB, free: 1.531 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/1.374, allocations: 3.129 MB / 1.477 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/1.376, allocations: 267.2 kB / 1.477 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/1.376, allocations: 39.91 kB / 1.477 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002074/1.378, allocations: 0.7589 MB / 1.478 GB, free: 13.06 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001416/1.38, allocations: 0.6107 MB / 1.478 GB, free: 12.34 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0019/1.382, allocations: 0.816 MB / 1.479 GB, free: 11.44 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.989e-06/1.382, allocations: 0 / 1.479 GB, free: 11.44 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003479/1.385, allocations: 1.323 MB / 1.48 GB, free: 10.06 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.385, allocations: 8 kB / 1.48 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.385, allocations: 4 kB / 1.48 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/1.385, allocations: 61.69 kB / 1.481 GB, free: 9.984 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.386, allocations: 203.7 kB / 1.481 GB, free: 9.785 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/1.389, allocations: 3.14 MB / 1.484 GB, free: 6.367 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/1.391, allocations: 200.1 kB / 1.484 GB, free: 6.172 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/1.391, allocations: 31.98 kB / 1.484 GB, free: 6.141 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.0003105/1.391, allocations: 216.1 kB / 1.484 GB, free: 5.922 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003452/1.392, allocations: 169.8 kB / 1.484 GB, free: 5.754 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/1.394, allocations: 0.964 MB / 1.485 GB, free: 4.734 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.394, allocations: 4 kB / 1.485 GB, free: 4.73 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.394, allocations: 3.938 kB / 1.485 GB, free: 4.727 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.394, allocations: 0 / 1.485 GB, free: 4.727 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/1.398, allocations: 2.149 MB / 1.487 GB, free: 2.453 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.398, allocations: 0 / 1.487 GB, free: 2.453 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/1.399, allocations: 104 kB / 1.488 GB, free: 2.352 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/1.399, allocations: 53.69 kB / 1.488 GB, free: 2.293 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/1.399, allocations: 11.98 kB / 1.488 GB, free: 2.281 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/1.402, allocations: 3.132 MB / 1.491 GB, free: 14.87 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.402, allocations: 0 / 1.491 GB, free: 14.87 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/1.404, allocations: 1.025 MB / 1.492 GB, free: 13.77 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/1.405, allocations: 326.8 kB / 1.492 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.405, allocations: 11.98 kB / 1.492 GB, free: 13.42 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.406, allocations: 91.91 kB / 1.492 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/1.406, allocations: 27.97 kB / 1.492 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/1.406, allocations: 19.98 kB / 1.492 GB, free: 13.28 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002455/1.409, allocations: 1.313 MB / 1.493 GB, free: 11.95 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.2e-07/1.409, allocations: 3.938 kB / 1.493 GB, free: 11.94 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002538/1.411, allocations: 0.7524 MB / 1.494 GB, free: 11.19 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.0007225/1.412, allocations: 318.9 kB / 1.494 GB, free: 10.86 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004614/1.417, allocations: 1.724 MB / 1.496 GB, free: 9.09 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.417, allocations: 5 kB / 1.496 GB, free: 9.086 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.418, allocations: 0.5091 MB / 1.497 GB, free: 8.551 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004805/1.423, allocations: 1.03 MB / 1.498 GB, free: 7.535 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006437/1.429, allocations: 2.768 MB / 1.5 GB, free: 4.715 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/1.431, allocations: 1.348 MB / 1.502 GB, free: 3.34 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/1.431, allocations: 131.4 kB / 1.502 GB, free: 3.211 MB / 1.232 GB Notification: Performance of SimCode: time 1.122e-06/1.431, allocations: 0 / 1.502 GB, free: 3.211 MB / 1.232 GB Notification: Performance of Templates: time 0.06569/1.497, allocations: 48.92 MB / 1.55 GB, free: 2.461 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches