Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 107.9 kB / 16.41 MB, free: 6.492 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.001497/0.001497, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 474.5 MB / 0.7477 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003041/0.003041, allocations: 67.89 kB / 1.073 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9788/0.9819, allocations: 160.3 MB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3402/1.322, allocations: 304.9 MB / 1.527 GB, free: 8.996 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04194/1.364, allocations: 27.46 MB / 1.554 GB, free: 13.46 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005122/1.369, allocations: 79.62 kB / 1.554 GB, free: 13.38 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.006965/1.376, allocations: 2.274 MB / 1.556 GB, free: 11.1 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.008788/1.385, allocations: 3.174 MB / 1.559 GB, free: 7.914 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.007017/1.392, allocations: 2.793 MB / 1.562 GB, free: 5.125 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.9542/2.346, allocations: 7.269 MB / 1.569 GB, free: 32.15 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004047/2.35, allocations: 1.823 MB / 1.571 GB, free: 31.95 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006145/2.357, allocations: 2.307 MB / 1.573 GB, free: 31.95 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/2.36, allocations: 1.346 MB / 1.574 GB, free: 31.95 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0005252/2.361, allocations: 215.3 kB / 1.574 GB, free: 31.95 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006612/2.368, allocations: 3.23 MB / 1.578 GB, free: 31.95 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/2.369, allocations: 0.7587 MB / 1.578 GB, free: 31.95 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001906/2.371, allocations: 1.262 MB / 1.58 GB, free: 31.95 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/2.381, allocations: 4.94 MB / 1.584 GB, free: 31.7 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/2.381, allocations: 0 / 1.584 GB, free: 31.7 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.805e-06/2.381, allocations: 3.688 kB / 1.584 GB, free: 31.7 MB / 1.279 GB Notification: Performance of Transformations before backend: time 8.396e-05/2.381, allocations: 0 / 1.584 GB, free: 31.7 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.006058/2.387, allocations: 2.821 MB / 1.587 GB, free: 30.23 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/2.387, allocations: 15.36 kB / 1.587 GB, free: 30.23 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/2.391, allocations: 0.7278 MB / 1.588 GB, free: 30.1 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009314/2.401, allocations: 5.666 MB / 1.593 GB, free: 29.54 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.71e-05/2.401, allocations: 86.44 kB / 1.594 GB, free: 29.54 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/2.401, allocations: 116.6 kB / 1.594 GB, free: 29.53 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/2.403, allocations: 1.401 MB / 1.595 GB, free: 29.16 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/2.403, allocations: 6.625 kB / 1.595 GB, free: 29.16 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/2.404, allocations: 47.81 kB / 1.595 GB, free: 29.16 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/2.404, allocations: 42.36 kB / 1.595 GB, free: 29.16 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/2.406, allocations: 0.9794 MB / 1.596 GB, free: 29.15 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.007486/2.413, allocations: 7.683 MB / 1.604 GB, free: 24.61 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008205/2.414, allocations: 365.4 kB / 1.604 GB, free: 24.49 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/2.414, allocations: 116 kB / 1.604 GB, free: 24.48 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/2.415, allocations: 188.5 kB / 1.604 GB, free: 24.29 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/2.415, allocations: 40.78 kB / 1.604 GB, free: 24.25 MB / 1.279 GB Notification: Performance of pre-optimization done (n=18): time 2.494e-06/2.415, allocations: 0.9062 kB / 1.604 GB, free: 24.25 MB / 1.279 GB Notification: Performance of matching and sorting (n=18): time 0.001493/2.416, allocations: 0.5373 MB / 1.605 GB, free: 24.1 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/2.416, allocations: 53.31 kB / 1.605 GB, free: 24.04 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/2.419, allocations: 2.281 MB / 1.607 GB, free: 23.79 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/2.419, allocations: 31.27 kB / 1.607 GB, free: 23.75 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006673/2.42, allocations: 0.9958 MB / 1.608 GB, free: 23.42 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/2.42, allocations: 90.16 kB / 1.608 GB, free: 23.38 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/2.42, allocations: 277.1 kB / 1.608 GB, free: 23.35 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.926e-05/2.42, allocations: 354.1 kB / 1.609 GB, free: 23.04 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008262/2.421, allocations: 457.9 kB / 1.609 GB, free: 23.04 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/2.422, allocations: 0.8924 MB / 1.61 GB, free: 22.48 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/2.424, allocations: 1.211 MB / 1.611 GB, free: 21.96 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/2.424, allocations: 6.469 kB / 1.611 GB, free: 21.96 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002608/2.426, allocations: 1.516 MB / 1.613 GB, free: 21.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/2.426, allocations: 11.78 kB / 1.613 GB, free: 21.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/2.426, allocations: 15.88 kB / 1.613 GB, free: 21.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/2.426, allocations: 19.53 kB / 1.613 GB, free: 21.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/2.427, allocations: 252.1 kB / 1.613 GB, free: 21.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/2.427, allocations: 31.17 kB / 1.613 GB, free: 21.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/2.429, allocations: 223.5 kB / 1.613 GB, free: 21.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/2.429, allocations: 53.75 kB / 1.613 GB, free: 21.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001504/2.43, allocations: 0.93 MB / 1.614 GB, free: 21.62 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009207/2.431, allocations: 0.885 MB / 1.615 GB, free: 21.07 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001415/2.433, allocations: 1.197 MB / 1.616 GB, free: 20.55 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.925e-06/2.433, allocations: 3.438 kB / 1.616 GB, free: 20.55 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002407/2.435, allocations: 1.494 MB / 1.618 GB, free: 20.39 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/2.435, allocations: 16.22 kB / 1.618 GB, free: 20.39 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/2.435, allocations: 12.88 kB / 1.618 GB, free: 20.39 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/2.435, allocations: 21.03 kB / 1.618 GB, free: 20.39 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000798/2.436, allocations: 241.3 kB / 1.618 GB, free: 20.39 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/2.436, allocations: 33.39 kB / 1.618 GB, free: 20.39 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/2.438, allocations: 135 kB / 1.618 GB, free: 20.36 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/2.438, allocations: 52.09 kB / 1.618 GB, free: 20.36 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002874/2.438, allocations: 251.4 kB / 1.618 GB, free: 20.16 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/2.438, allocations: 202.2 kB / 1.619 GB, free: 20.05 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/2.439, allocations: 169.4 kB / 1.619 GB, free: 20.02 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/2.439, allocations: 2.188 kB / 1.619 GB, free: 20.02 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.439, allocations: 0 / 1.619 GB, free: 20.02 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/2.439, allocations: 9.906 kB / 1.619 GB, free: 20.02 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/2.442, allocations: 1.872 MB / 1.621 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/2.442, allocations: 6.016 kB / 1.621 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/2.442, allocations: 49.2 kB / 1.621 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/2.442, allocations: 4.656 kB / 1.621 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/2.442, allocations: 8.062 kB / 1.621 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/2.442, allocations: 11.41 kB / 1.621 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/2.442, allocations: 8.406 kB / 1.621 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/2.443, allocations: 0.5897 MB / 1.621 GB, free: 19.14 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/2.444, allocations: 327.6 kB / 1.622 GB, free: 18.93 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/2.444, allocations: 12.94 kB / 1.622 GB, free: 18.93 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/2.445, allocations: 50.86 kB / 1.622 GB, free: 18.93 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/2.445, allocations: 28.27 kB / 1.622 GB, free: 18.92 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/2.445, allocations: 10.78 kB / 1.622 GB, free: 18.92 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002064/2.447, allocations: 1.551 MB / 1.623 GB, free: 18.77 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.5e-07/2.447, allocations: 0 / 1.623 GB, free: 18.77 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002353/2.449, allocations: 0.8191 MB / 1.624 GB, free: 18.7 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008876/2.45, allocations: 455.3 kB / 1.624 GB, free: 18.54 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002583/2.453, allocations: 1.443 MB / 1.626 GB, free: 18.52 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/2.453, allocations: 0 / 1.626 GB, free: 18.52 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/2.453, allocations: 122.5 kB / 1.626 GB, free: 18.52 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/2.457, allocations: 1.075 MB / 1.627 GB, free: 18.32 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/2.461, allocations: 3.056 MB / 1.63 GB, free: 17 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008796/2.462, allocations: 1.486 MB / 1.631 GB, free: 16.25 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001606/2.464, allocations: 463.5 kB / 1.632 GB, free: 16.13 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/2.464, allocations: 122.1 kB / 1.632 GB, free: 16.12 MB / 1.279 GB Notification: Performance of SimCode: time 6.91e-07/2.464, allocations: 0 / 1.632 GB, free: 16.12 MB / 1.279 GB Notification: Performance of Templates: time 0.0581/2.522, allocations: 36.24 MB / 1.667 GB, free: 8.703 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches