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.001402/0.001402, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001422/0.001422, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.264/2.264, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.08 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.285, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9469/1.232, allocations: 312.3 MB / 1.255 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03828/1.27, allocations: 27.52 MB / 1.282 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004027/1.274, allocations: 83.56 kB / 1.282 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005477/1.28, allocations: 1.581 MB / 1.284 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01248/1.292, allocations: 3.007 MB / 1.287 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007248/1.3, allocations: 2.618 MB / 1.289 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006977/1.307, allocations: 4.633 MB / 1.294 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/1.31, allocations: 2.049 MB / 1.296 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005126/1.315, allocations: 2.379 MB / 1.298 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/1.319, allocations: 1.455 MB / 1.299 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006672/1.319, allocations: 244 kB / 1.3 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006708/1.326, allocations: 3.415 MB / 1.303 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/1.327, allocations: 0.6972 MB / 1.304 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003511/1.331, allocations: 1.194 MB / 1.305 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/1.341, allocations: 4.675 MB / 1.309 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/1.341, allocations: 0 / 1.309 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.214e-06/1.341, allocations: 0 / 1.309 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001178/1.341, allocations: 0 / 1.309 GB, free: 1.355 MB / 0.9669 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.005687/1.346, allocations: 2.489 MB / 1.312 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/1.347, allocations: 8.031 kB / 1.312 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006252/1.353, allocations: 0.9066 MB / 1.313 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/1.357, allocations: 2.054 MB / 1.315 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007206/1.358, allocations: 210.4 kB / 1.315 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/1.358, allocations: 132 kB / 1.315 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/1.363, allocations: 1.674 MB / 1.317 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/1.363, allocations: 3.938 kB / 1.317 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/1.363, allocations: 59.94 kB / 1.317 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.682e-05/1.363, allocations: 50.48 kB / 1.317 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004469/1.368, allocations: 1.548 MB / 1.318 GB, free: 8.031 MB / 0.9825 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.01197/1.38, allocations: 7.62 MB / 1.326 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/1.383, allocations: 0.6994 MB / 1.326 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009195/1.383, allocations: 316.6 kB / 1.327 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/1.384, allocations: 198.7 kB / 1.327 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/1.384, allocations: 38.55 kB / 1.327 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.846e-06/1.384, allocations: 0 / 1.327 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36): time 0.003925/1.388, allocations: 1.365 MB / 1.328 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/1.388, allocations: 59.39 kB / 1.328 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/1.391, allocations: 1.863 MB / 1.33 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/1.392, allocations: 37.7 kB / 1.33 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/1.392, allocations: 0.8077 MB / 1.331 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/1.392, allocations: 134.1 kB / 1.331 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/1.393, allocations: 146.1 kB / 1.331 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.393, allocations: 330 kB / 1.332 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/1.394, allocations: 431.2 kB / 1.332 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/1.396, allocations: 0.6565 MB / 1.333 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/1.398, allocations: 0.8897 MB / 1.334 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.398, allocations: 3.938 kB / 1.334 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003876/1.402, allocations: 1.401 MB / 1.335 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.402, allocations: 11.94 kB / 1.335 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.402, allocations: 8 kB / 1.335 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/1.403, allocations: 65.97 kB / 1.335 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/1.404, allocations: 211.7 kB / 1.335 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/1.406, allocations: 3.144 MB / 1.338 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/1.408, allocations: 277.1 kB / 1.339 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.408, allocations: 35.97 kB / 1.339 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002001/1.41, allocations: 0.7687 MB / 1.339 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001441/1.412, allocations: 0.6114 MB / 1.34 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002066/1.414, allocations: 0.8278 MB / 1.341 GB, free: 15.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.162e-06/1.414, allocations: 4 kB / 1.341 GB, free: 15.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003455/1.418, allocations: 1.339 MB / 1.342 GB, free: 14.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.418, allocations: 8 kB / 1.342 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.418, allocations: 8 kB / 1.342 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/1.418, allocations: 61.69 kB / 1.342 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.419, allocations: 199.8 kB / 1.342 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/1.421, allocations: 3.137 MB / 1.345 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/1.423, allocations: 208.2 kB / 1.346 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/1.423, allocations: 35.98 kB / 1.346 GB, free: 10.33 MB / 1.014 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.0002843/1.424, allocations: 216.1 kB / 1.346 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000437/1.424, allocations: 177.8 kB / 1.346 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/1.427, allocations: 0.9601 MB / 1.347 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.427, allocations: 4 kB / 1.347 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.427, allocations: 7.875 kB / 1.347 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.427, allocations: 3.984 kB / 1.347 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/1.431, allocations: 2.145 MB / 1.349 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/1.431, allocations: 4.125 kB / 1.349 GB, free: 6.629 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/1.432, allocations: 103.8 kB / 1.349 GB, free: 6.527 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/1.432, allocations: 53.69 kB / 1.349 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/1.432, allocations: 15.94 kB / 1.349 GB, free: 6.453 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/1.434, allocations: 3.136 MB / 1.352 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.434, allocations: 7.969 kB / 1.352 GB, free: 3.031 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/1.436, allocations: 1.029 MB / 1.353 GB, free: 1.926 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006956/1.437, allocations: 326.8 kB / 1.354 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003837/1.437, allocations: 8 kB / 1.354 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.439, allocations: 99.89 kB / 1.354 GB, free: 1.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/1.439, allocations: 24.11 kB / 1.354 GB, free: 1.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/1.439, allocations: 15.98 kB / 1.354 GB, free: 1.441 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002714/1.442, allocations: 1.329 MB / 1.355 GB, free: 92 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.442, allocations: 0 / 1.355 GB, free: 92 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.002625/1.444, allocations: 0.7448 MB / 1.356 GB, free: 15.34 MB / 1.029 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.0007844/1.445, allocations: 318.9 kB / 1.356 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004697/1.45, allocations: 1.756 MB / 1.358 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.45, allocations: 4.125 kB / 1.358 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.451, allocations: 0.509 MB / 1.358 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/1.456, allocations: 1.044 MB / 1.359 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/1.461, allocations: 2.808 MB / 1.362 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.462, allocations: 1.34 MB / 1.363 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/1.463, allocations: 135.4 kB / 1.363 GB, free: 7.293 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/1.463, allocations: 0 / 1.363 GB, free: 7.293 MB / 1.029 GB Notification: Performance of Templates: time 0.06517/1.528, allocations: 48.72 MB / 1.411 GB, free: 6.742 MB / 1.076 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