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.001242/0.001242, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.518/1.518, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.484/2.484, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.8442, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.243/2.087, allocations: 312.3 MB / 1.254 GB, free: 25.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04814/2.135, allocations: 27.53 MB / 1.281 GB, free: 25.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004934/2.14, allocations: 79.47 kB / 1.281 GB, free: 25.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006002/2.146, allocations: 1.591 MB / 1.283 GB, free: 25.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/2.158, allocations: 3.007 MB / 1.286 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/2.168, allocations: 2.617 MB / 1.289 GB, free: 25.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01068/2.179, allocations: 4.625 MB / 1.293 GB, free: 25.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/2.183, allocations: 2.04 MB / 1.295 GB, free: 24.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007354/2.19, allocations: 2.389 MB / 1.297 GB, free: 24.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005065/2.195, allocations: 1.462 MB / 1.299 GB, free: 24.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/2.196, allocations: 245.5 kB / 1.299 GB, free: 24.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/2.207, allocations: 3.422 MB / 1.302 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002223/2.209, allocations: 0.6782 MB / 1.303 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003644/2.213, allocations: 1.194 MB / 1.304 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01293/2.226, allocations: 4.684 MB / 1.309 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/2.226, allocations: 0.9375 kB / 1.309 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.745e-06/2.226, allocations: 0 / 1.309 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001092/2.226, allocations: 0 / 1.309 GB, free: 24.46 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.006532/2.232, allocations: 2.487 MB / 1.311 GB, free: 23.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/2.233, allocations: 10.12 kB / 1.311 GB, free: 23.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006199/2.239, allocations: 0.9005 MB / 1.312 GB, free: 23.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004636/2.243, allocations: 2.051 MB / 1.314 GB, free: 22.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006896/2.244, allocations: 219.1 kB / 1.314 GB, free: 22.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/2.245, allocations: 133.1 kB / 1.314 GB, free: 22.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/2.248, allocations: 1.676 MB / 1.316 GB, free: 22.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/2.248, allocations: 7.312 kB / 1.316 GB, free: 22.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/2.249, allocations: 56.41 kB / 1.316 GB, free: 22.44 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/2.249, allocations: 45.53 kB / 1.316 GB, free: 22.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00434/2.253, allocations: 1.555 MB / 1.318 GB, free: 22.41 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.01201/2.265, allocations: 7.613 MB / 1.325 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/2.268, allocations: 0.6969 MB / 1.326 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009377/2.269, allocations: 322.2 kB / 1.326 GB, free: 18.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/2.269, allocations: 194.5 kB / 1.326 GB, free: 18.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/2.269, allocations: 38.48 kB / 1.326 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 4.949e-06/2.269, allocations: 0 / 1.326 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36): time 0.004131/2.273, allocations: 1.357 MB / 1.328 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/2.273, allocations: 55.47 kB / 1.328 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00374/2.277, allocations: 1.87 MB / 1.33 GB, free: 17.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/2.277, allocations: 35.2 kB / 1.33 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007202/2.278, allocations: 0.82 MB / 1.33 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/2.278, allocations: 128.7 kB / 1.33 GB, free: 17.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/2.279, allocations: 153.1 kB / 1.331 GB, free: 17.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/2.279, allocations: 333.4 kB / 1.331 GB, free: 16.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/2.28, allocations: 426.5 kB / 1.331 GB, free: 16.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/2.282, allocations: 0.6552 MB / 1.332 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/2.284, allocations: 0.882 MB / 1.333 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/2.284, allocations: 2.531 kB / 1.333 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004212/2.288, allocations: 1.404 MB / 1.334 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/2.288, allocations: 11.12 kB / 1.334 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/2.288, allocations: 4.469 kB / 1.334 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/2.289, allocations: 62.14 kB / 1.334 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/2.29, allocations: 217 kB / 1.335 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/2.291, allocations: 3.137 MB / 1.338 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/2.294, allocations: 288.8 kB / 1.338 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/2.294, allocations: 33.95 kB / 1.338 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00212/2.296, allocations: 0.7651 MB / 1.339 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001398/2.298, allocations: 0.617 MB / 1.339 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001882/2.3, allocations: 0.824 MB / 1.34 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.114e-06/2.3, allocations: 6.188 kB / 1.34 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003356/2.303, allocations: 1.34 MB / 1.341 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/2.303, allocations: 7.469 kB / 1.341 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/2.303, allocations: 12.38 kB / 1.341 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/2.303, allocations: 58.8 kB / 1.341 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/2.304, allocations: 208.6 kB / 1.342 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/2.306, allocations: 3.125 MB / 1.345 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/2.308, allocations: 216.3 kB / 1.345 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/2.308, allocations: 30.3 kB / 1.345 GB, free: 8.816 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 (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.000329/2.309, allocations: 223.4 kB / 1.345 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/2.309, allocations: 170.1 kB / 1.345 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/2.312, allocations: 0.9606 MB / 1.346 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/2.312, allocations: 5.891 kB / 1.346 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.312, allocations: 4 kB / 1.346 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/2.312, allocations: 2.812 kB / 1.346 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/2.316, allocations: 2.154 MB / 1.348 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/2.316, allocations: 6.656 kB / 1.348 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/2.316, allocations: 102 kB / 1.348 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/2.317, allocations: 62 kB / 1.348 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/2.317, allocations: 10.23 kB / 1.349 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/2.318, allocations: 3.134 MB / 1.352 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.318, allocations: 3.188 kB / 1.352 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/2.321, allocations: 1.035 MB / 1.353 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/2.322, allocations: 325.3 kB / 1.353 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/2.322, allocations: 13.72 kB / 1.353 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/2.323, allocations: 97.64 kB / 1.353 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/2.323, allocations: 25.83 kB / 1.353 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/2.323, allocations: 20.41 kB / 1.353 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002527/2.326, allocations: 1.329 MB / 1.354 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/2.326, allocations: 0 / 1.354 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002666/2.328, allocations: 0.7556 MB / 1.355 GB, free: 3.676 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 (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.0007541/2.329, allocations: 313.1 kB / 1.355 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005292/2.334, allocations: 1.755 MB / 1.357 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.334, allocations: 0 / 1.357 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/2.336, allocations: 0.5173 MB / 1.358 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00799/2.344, allocations: 1.027 MB / 1.359 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009834/2.354, allocations: 2.722 MB / 1.361 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/2.356, allocations: 1.341 MB / 1.363 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003281/2.359, allocations: 381.5 kB / 1.363 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/2.359, allocations: 122.7 kB / 1.363 GB, free: 500 kB / 0.9981 GB Notification: Performance of SimCode: time 3.266e-06/2.359, allocations: 0 / 1.363 GB, free: 500 kB / 0.9981 GB Notification: Performance of Templates: time 0.06337/2.423, allocations: 35.58 MB / 1.398 GB, free: 2.977 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