Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00131/0.00131, allocations: 108.3 kB / 16.41 MB, free: 6.504 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.001307/0.001307, allocations: 188 kB / 17.34 MB, free: 5.738 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 474.5 MB / 0.7477 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002066, allocations: 76.08 kB / 1.073 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9164/0.9185, allocations: 160.3 MB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3724/1.291, allocations: 312.7 MB / 1.535 GB, free: 1.129 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04103/1.332, allocations: 29.38 MB / 1.563 GB, free: 3.664 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/1.335, allocations: 79.62 kB / 1.563 GB, free: 3.586 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.007768/1.343, allocations: 2.441 MB / 1.566 GB, free: 1.137 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.8767/2.22, allocations: 3.298 MB / 1.569 GB, free: 27.07 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008274/2.228, allocations: 2.784 MB / 1.572 GB, free: 27.07 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01396/2.242, allocations: 7.57 MB / 1.579 GB, free: 27.07 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004165/2.246, allocations: 2.093 MB / 1.581 GB, free: 26.83 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007011/2.253, allocations: 2.444 MB / 1.583 GB, free: 26.83 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004511/2.258, allocations: 1.526 MB / 1.585 GB, free: 26.82 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0008083/2.259, allocations: 260 kB / 1.585 GB, free: 26.82 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009971/2.269, allocations: 3.62 MB / 1.589 GB, free: 26.82 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/2.27, allocations: 0.8294 MB / 1.59 GB, free: 26.82 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002812/2.273, allocations: 1.39 MB / 1.591 GB, free: 26.82 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/2.283, allocations: 5.453 MB / 1.596 GB, free: 26.54 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/2.283, allocations: 0.5938 kB / 1.596 GB, free: 26.54 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.474e-06/2.283, allocations: 1 kB / 1.596 GB, free: 26.54 MB / 1.279 GB Notification: Performance of Transformations before backend: time 8.374e-05/2.284, allocations: 0 / 1.596 GB, free: 26.54 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005472/2.289, allocations: 3.025 MB / 1.599 GB, free: 25 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/2.289, allocations: 14.86 kB / 1.599 GB, free: 24.99 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005707/2.295, allocations: 0.95 MB / 1.6 GB, free: 24.85 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009613/2.304, allocations: 5.763 MB / 1.606 GB, free: 24.28 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/2.305, allocations: 104.3 kB / 1.606 GB, free: 24.28 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/2.305, allocations: 134 kB / 1.606 GB, free: 24.28 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/2.308, allocations: 1.584 MB / 1.607 GB, free: 24.09 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/2.308, allocations: 4.062 kB / 1.607 GB, free: 24.09 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/2.308, allocations: 55.53 kB / 1.608 GB, free: 24.09 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/2.308, allocations: 51.42 kB / 1.608 GB, free: 24.08 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/2.311, allocations: 1.325 MB / 1.609 GB, free: 24.07 MB / 1.279 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.00957/2.321, allocations: 7.622 MB / 1.616 GB, free: 20.33 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/2.323, allocations: 0.681 MB / 1.617 GB, free: 20.21 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007881/2.323, allocations: 259.1 kB / 1.617 GB, free: 20.2 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/2.324, allocations: 191.9 kB / 1.617 GB, free: 20.01 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/2.324, allocations: 38.69 kB / 1.617 GB, free: 19.97 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/2.324, allocations: 0 / 1.617 GB, free: 19.97 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.002802/2.327, allocations: 1.053 MB / 1.618 GB, free: 19.62 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/2.327, allocations: 54.03 kB / 1.619 GB, free: 19.56 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/2.33, allocations: 2.36 MB / 1.621 GB, free: 19.32 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/2.33, allocations: 33.3 kB / 1.621 GB, free: 19.29 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/2.331, allocations: 0.9755 MB / 1.622 GB, free: 19.01 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/2.331, allocations: 136.7 kB / 1.622 GB, free: 18.93 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003753/2.331, allocations: 258.2 kB / 1.622 GB, free: 18.9 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/2.331, allocations: 353.6 kB / 1.623 GB, free: 18.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/2.332, allocations: 0.5131 MB / 1.623 GB, free: 18.59 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/2.334, allocations: 0.7921 MB / 1.624 GB, free: 18.27 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/2.336, allocations: 1.115 MB / 1.625 GB, free: 18.02 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/2.336, allocations: 2.875 kB / 1.625 GB, free: 18.02 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003237/2.339, allocations: 1.642 MB / 1.627 GB, free: 17.74 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/2.339, allocations: 10.97 kB / 1.627 GB, free: 17.74 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/2.339, allocations: 6.281 kB / 1.627 GB, free: 17.74 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/2.339, allocations: 40.09 kB / 1.627 GB, free: 17.73 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/2.34, allocations: 241.6 kB / 1.627 GB, free: 17.73 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009008/2.341, allocations: 1.571 MB / 1.628 GB, free: 16.24 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/2.343, allocations: 246.9 kB / 1.629 GB, free: 16.14 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/2.343, allocations: 46.72 kB / 1.629 GB, free: 16.14 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002066/2.345, allocations: 1.013 MB / 1.63 GB, free: 16.05 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00119/2.347, allocations: 0.781 MB / 1.63 GB, free: 15.72 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001774/2.348, allocations: 1.097 MB / 1.631 GB, free: 15.43 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/2.348, allocations: 0 / 1.631 GB, free: 15.43 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003228/2.352, allocations: 1.622 MB / 1.633 GB, free: 15.12 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/2.352, allocations: 9.344 kB / 1.633 GB, free: 15.12 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/2.352, allocations: 8.875 kB / 1.633 GB, free: 15.12 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.941e-05/2.352, allocations: 35.83 kB / 1.633 GB, free: 15.11 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/2.353, allocations: 237.1 kB / 1.633 GB, free: 15.11 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008167/2.354, allocations: 1.574 MB / 1.635 GB, free: 13.62 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/2.356, allocations: 170.5 kB / 1.635 GB, free: 13.57 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/2.356, allocations: 42.38 kB / 1.635 GB, free: 13.57 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002954/2.356, allocations: 232.2 kB / 1.635 GB, free: 13.39 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/2.356, allocations: 214.8 kB / 1.635 GB, free: 13.27 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/2.358, allocations: 0.7663 MB / 1.636 GB, free: 13.08 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/2.358, allocations: 6.859 kB / 1.636 GB, free: 13.08 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/2.358, allocations: 1.312 kB / 1.636 GB, free: 13.08 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/2.358, allocations: 7.938 kB / 1.636 GB, free: 13.07 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/2.362, allocations: 2.155 MB / 1.638 GB, free: 12.56 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/2.362, allocations: 3.438 kB / 1.638 GB, free: 12.56 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/2.363, allocations: 101.3 kB / 1.638 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.972e-05/2.363, allocations: 26.64 kB / 1.638 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/2.363, allocations: 12.48 kB / 1.638 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007388/2.363, allocations: 1.558 MB / 1.64 GB, free: 11.05 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.363, allocations: 3.094 kB / 1.64 GB, free: 11.05 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/2.365, allocations: 0.8991 MB / 1.641 GB, free: 10.62 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/2.366, allocations: 366.2 kB / 1.641 GB, free: 10.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/2.366, allocations: 9.875 kB / 1.641 GB, free: 10.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/2.367, allocations: 63.25 kB / 1.641 GB, free: 10.39 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/2.367, allocations: 38.84 kB / 1.641 GB, free: 10.38 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/2.367, allocations: 21.78 kB / 1.641 GB, free: 10.38 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002555/2.37, allocations: 1.64 MB / 1.643 GB, free: 10.23 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.61e-07/2.37, allocations: 1.344 kB / 1.643 GB, free: 10.23 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002808/2.372, allocations: 0.8964 MB / 1.644 GB, free: 10.13 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0009834/2.373, allocations: 449.4 kB / 1.644 GB, free: 9.988 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004055/2.377, allocations: 1.821 MB / 1.646 GB, free: 9.73 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/2.377, allocations: 2.938 kB / 1.646 GB, free: 9.73 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006908/2.378, allocations: 354.8 kB / 1.646 GB, free: 9.613 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005135/2.383, allocations: 1.235 MB / 1.648 GB, free: 9.383 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/2.389, allocations: 3.326 MB / 1.651 GB, free: 8.043 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/2.39, allocations: 1.532 MB / 1.652 GB, free: 7.297 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002036/2.392, allocations: 475.6 kB / 1.653 GB, free: 7.16 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/2.392, allocations: 141.1 kB / 1.653 GB, free: 7.148 MB / 1.279 GB Notification: Performance of SimCode: time 1.223e-06/2.392, allocations: 0 / 1.653 GB, free: 7.148 MB / 1.279 GB Notification: Performance of Templates: time 0.06988/2.462, allocations: 39.88 MB / 1.692 GB, free: 7.207 MB / 1.295 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches