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.0009967/0.0009971, allocations: 90.36 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.006931/0.006932, allocations: 170.3 kB / 16.26 MB, free: 6.68 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.517/1.517, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.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.52/2.52, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004123, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.869, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.225/2.095, allocations: 306.2 MB / 1.254 GB, free: 21.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04055/2.135, allocations: 27.34 MB / 1.281 GB, free: 21.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004736/2.14, allocations: 73.75 kB / 1.281 GB, free: 21.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00619/2.146, allocations: 1.322 MB / 1.282 GB, free: 21.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/2.158, allocations: 2.811 MB / 1.285 GB, free: 21.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009531/2.168, allocations: 2.369 MB / 1.287 GB, free: 21.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01195/2.18, allocations: 6.008 MB / 1.293 GB, free: 21.45 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00373/2.184, allocations: 1.617 MB / 1.295 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006467/2.19, allocations: 1.964 MB / 1.297 GB, free: 21.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004032/2.194, allocations: 1.341 MB / 1.298 GB, free: 21.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004778/2.195, allocations: 66.84 kB / 1.298 GB, free: 21.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008529/2.203, allocations: 3.618 MB / 1.301 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/2.205, allocations: 0.4914 MB / 1.302 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002896/2.207, allocations: 1 MB / 1.303 GB, free: 21.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/2.219, allocations: 4.667 MB / 1.307 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/2.219, allocations: 0 / 1.307 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.535e-06/2.219, allocations: 4 kB / 1.307 GB, free: 20.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001094/2.219, allocations: 2.625 kB / 1.308 GB, free: 20.85 MB / 0.9981 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.005271/2.224, allocations: 2.089 MB / 1.31 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/2.224, allocations: 11.81 kB / 1.31 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006241/2.231, allocations: 0.9496 MB / 1.31 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004797/2.235, allocations: 2.065 MB / 1.312 GB, free: 19.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007053/2.236, allocations: 236.4 kB / 1.313 GB, free: 19.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/2.236, allocations: 128.9 kB / 1.313 GB, free: 19.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003788/2.24, allocations: 1.716 MB / 1.315 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/2.24, allocations: 0 / 1.315 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/2.24, allocations: 55.91 kB / 1.315 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/2.241, allocations: 51.14 kB / 1.315 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004276/2.245, allocations: 1.619 MB / 1.316 GB, free: 18.78 MB / 0.9981 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.01466/2.26, allocations: 7.489 MB / 1.324 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/2.262, allocations: 0.711 MB / 1.324 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008793/2.263, allocations: 338.3 kB / 1.325 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/2.263, allocations: 192.2 kB / 1.325 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/2.263, allocations: 36.66 kB / 1.325 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00103/2.264, allocations: 95.98 kB / 1.325 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 3.636e-06/2.264, allocations: 0 / 1.325 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.003828/2.268, allocations: 1.429 MB / 1.326 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/2.268, allocations: 59.44 kB / 1.326 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/2.272, allocations: 1.859 MB / 1.328 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/2.272, allocations: 36.67 kB / 1.328 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007361/2.273, allocations: 0.8267 MB / 1.329 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/2.273, allocations: 130.9 kB / 1.329 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/2.273, allocations: 60.31 kB / 1.329 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/2.273, allocations: 328.2 kB / 1.329 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/2.274, allocations: 457.5 kB / 1.33 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/2.276, allocations: 0.6871 MB / 1.331 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/2.278, allocations: 0.9393 MB / 1.331 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/2.278, allocations: 3.219 kB / 1.331 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004321/2.283, allocations: 1.482 MB / 1.333 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002113/2.283, allocations: 284.9 kB / 1.333 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/2.283, allocations: 6.75 kB / 1.333 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/2.283, allocations: 56.12 kB / 1.333 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/2.284, allocations: 230.4 kB / 1.333 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/2.287, allocations: 2.824 MB / 1.336 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/2.29, allocations: 289.5 kB / 1.337 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/2.29, allocations: 39.88 kB / 1.337 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/2.29, allocations: 3.188 kB / 1.337 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003277/2.293, allocations: 1.22 MB / 1.338 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/2.293, allocations: 6.562 kB / 1.338 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/2.293, allocations: 66.33 kB / 1.338 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/2.295, allocations: 213.4 kB / 1.338 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/2.296, allocations: 2.815 MB / 1.341 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/2.299, allocations: 230.1 kB / 1.341 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.063e-05/2.299, allocations: 32 kB / 1.341 GB, free: 6.449 MB / 0.9981 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 (69): * Single equations (assignments): 66 * 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.001362/2.3, allocations: 0.5248 MB / 1.342 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/2.301, allocations: 170.5 kB / 1.342 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/2.303, allocations: 1.003 MB / 1.343 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/2.303, allocations: 6.688 kB / 1.343 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/2.303, allocations: 4 kB / 1.343 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/2.303, allocations: 0 / 1.343 GB, free: 5.855 MB / 0.9981 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.004473/2.308, allocations: 2.276 MB / 1.345 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/2.308, allocations: 0 / 1.345 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/2.308, allocations: 110.9 kB / 1.345 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/2.308, allocations: 55.09 kB / 1.345 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/2.308, allocations: 9.625 kB / 1.345 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/2.31, allocations: 2.832 MB / 1.348 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/2.31, allocations: 0 / 1.348 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/2.312, allocations: 1.065 MB / 1.349 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009103/2.313, allocations: 329.2 kB / 1.349 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/2.314, allocations: 9.25 kB / 1.349 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/2.315, allocations: 150.9 kB / 1.349 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/2.315, allocations: 31.22 kB / 1.349 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/2.315, allocations: 19.45 kB / 1.349 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002679/2.318, allocations: 1.335 MB / 1.351 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/2.318, allocations: 0 / 1.351 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002972/2.321, allocations: 0.7736 MB / 1.351 GB, free: 1.039 MB / 0.9981 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 (33): * Single equations (assignments): 31 * 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.000813/2.322, allocations: 308 kB / 1.352 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004717/2.326, allocations: 1.836 MB / 1.354 GB, free: 188 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/2.326, allocations: 2.844 kB / 1.354 GB, free: 188 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/2.327, allocations: 0.5332 MB / 1.354 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005544/2.333, allocations: 0.952 MB / 1.355 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/2.34, allocations: 3.292 MB / 1.358 GB, free: 13.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/2.341, allocations: 1.346 MB / 1.36 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002453/2.343, allocations: 381.8 kB / 1.36 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/2.344, allocations: 123.8 kB / 1.36 GB, free: 12.55 MB / 1.014 GB Notification: Performance of SimCode: time 1.292e-06/2.344, allocations: 0 / 1.36 GB, free: 12.55 MB / 1.014 GB Notification: Performance of Templates: time 0.06715/2.411, allocations: 34.38 MB / 1.394 GB, free: 4.641 MB / 1.029 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