Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_10_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_10_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.005583/0.005583, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001294/0.001294, allocations: 192 kB / 16.67 MB, free: 5.961 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 59.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.204, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3566/1.561, allocations: 304.9 MB / 1.464 GB, free: 1.887 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03805/1.599, allocations: 27.45 MB / 1.491 GB, free: 6.348 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004809/1.604, allocations: 83.56 kB / 1.491 GB, free: 6.266 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/1.614, allocations: 2.222 MB / 1.493 GB, free: 4.035 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01208/1.626, allocations: 3.062 MB / 1.496 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.008834/1.635, allocations: 2.741 MB / 1.499 GB, free: 14.23 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01578/1.651, allocations: 7.261 MB / 1.506 GB, free: 6.949 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003579/1.654, allocations: 1.822 MB / 1.508 GB, free: 5.086 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006573/1.661, allocations: 2.254 MB / 1.51 GB, free: 2.824 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003585/1.664, allocations: 1.355 MB / 1.511 GB, free: 1.473 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005302/1.665, allocations: 212 kB / 1.512 GB, free: 1.266 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007415/1.672, allocations: 3.223 MB / 1.515 GB, free: 14.04 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/1.674, allocations: 0.7517 MB / 1.516 GB, free: 13.28 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/1.675, allocations: 1.26 MB / 1.517 GB, free: 12.02 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00934/1.685, allocations: 4.933 MB / 1.522 GB, free: 7.066 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.685, allocations: 0 / 1.522 GB, free: 7.066 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.264e-06/1.685, allocations: 0 / 1.522 GB, free: 7.066 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.75e-05/1.685, allocations: 0 / 1.522 GB, free: 7.066 MB / 1.248 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.005015/1.69, allocations: 2.829 MB / 1.524 GB, free: 4.16 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.69, allocations: 8.922 kB / 1.524 GB, free: 4.152 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/1.694, allocations: 0.7244 MB / 1.525 GB, free: 3.426 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/1.705, allocations: 5.665 MB / 1.531 GB, free: 13.71 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/1.705, allocations: 86.19 kB / 1.531 GB, free: 13.62 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/1.705, allocations: 112 kB / 1.531 GB, free: 13.51 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/1.708, allocations: 1.398 MB / 1.532 GB, free: 11.97 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/1.708, allocations: 15.86 kB / 1.532 GB, free: 11.96 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.708, allocations: 47.94 kB / 1.532 GB, free: 11.91 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/1.708, allocations: 38 kB / 1.532 GB, free: 11.87 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/1.71, allocations: 0.9717 MB / 1.533 GB, free: 10.9 MB / 1.264 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.009317/1.72, allocations: 7.682 MB / 1.541 GB, free: 2.809 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/1.721, allocations: 371.7 kB / 1.541 GB, free: 2.418 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/1.721, allocations: 116.8 kB / 1.541 GB, free: 2.301 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002839/1.721, allocations: 190.2 kB / 1.541 GB, free: 2.078 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/1.721, allocations: 38.56 kB / 1.541 GB, free: 2.031 MB / 1.264 GB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/1.721, allocations: 0 / 1.541 GB, free: 2.031 MB / 1.264 GB Notification: Performance of matching and sorting (n=18): time 0.001617/1.723, allocations: 0.5296 MB / 1.542 GB, free: 1.496 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.723, allocations: 59.41 kB / 1.542 GB, free: 1.426 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/1.726, allocations: 2.28 MB / 1.544 GB, free: 15.12 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/1.726, allocations: 33.7 kB / 1.544 GB, free: 15.09 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008359/1.727, allocations: 0.9958 MB / 1.545 GB, free: 14.08 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/1.727, allocations: 87.41 kB / 1.545 GB, free: 13.99 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/1.728, allocations: 286.4 kB / 1.546 GB, free: 13.7 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.728, allocations: 353.9 kB / 1.546 GB, free: 13.35 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008928/1.729, allocations: 452.9 kB / 1.546 GB, free: 12.91 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/1.73, allocations: 0.888 MB / 1.547 GB, free: 11.81 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/1.731, allocations: 1.218 MB / 1.548 GB, free: 10.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/1.731, allocations: 4 kB / 1.548 GB, free: 10.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00277/1.734, allocations: 1.513 MB / 1.55 GB, free: 8.879 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.734, allocations: 12.97 kB / 1.55 GB, free: 8.867 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/1.734, allocations: 16 kB / 1.55 GB, free: 8.852 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/1.734, allocations: 20 kB / 1.55 GB, free: 8.832 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/1.735, allocations: 247.6 kB / 1.55 GB, free: 8.59 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-05/1.735, allocations: 31.86 kB / 1.55 GB, free: 8.559 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.737, allocations: 219.1 kB / 1.55 GB, free: 8.344 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/1.737, allocations: 52 kB / 1.55 GB, free: 8.293 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001555/1.738, allocations: 0.9317 MB / 1.551 GB, free: 7.355 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001107/1.739, allocations: 0.8841 MB / 1.552 GB, free: 6.262 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001593/1.741, allocations: 1.203 MB / 1.553 GB, free: 4.863 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.895e-06/1.741, allocations: 8 kB / 1.553 GB, free: 4.855 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002674/1.744, allocations: 1.486 MB / 1.555 GB, free: 3.363 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.744, allocations: 12 kB / 1.555 GB, free: 3.352 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.744, allocations: 16 kB / 1.555 GB, free: 3.336 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.744, allocations: 20.81 kB / 1.555 GB, free: 3.316 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/1.745, allocations: 239.6 kB / 1.555 GB, free: 3.082 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/1.745, allocations: 31.86 kB / 1.555 GB, free: 3.051 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.746, allocations: 139.6 kB / 1.555 GB, free: 2.914 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/1.746, allocations: 63.86 kB / 1.555 GB, free: 2.852 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.0002869/1.746, allocations: 243.8 kB / 1.556 GB, free: 2.605 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/1.747, allocations: 206.6 kB / 1.556 GB, free: 2.402 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/1.747, allocations: 172 kB / 1.556 GB, free: 2.23 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.747, allocations: 0 / 1.556 GB, free: 2.23 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.747, allocations: 0 / 1.556 GB, free: 2.23 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.747, allocations: 3.938 kB / 1.556 GB, free: 2.227 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/1.75, allocations: 1.874 MB / 1.558 GB, free: 244 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.75, allocations: 4 kB / 1.558 GB, free: 240 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/1.75, allocations: 48.25 kB / 1.558 GB, free: 192 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.75, allocations: 8 kB / 1.558 GB, free: 184 kB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/1.751, allocations: 15.98 kB / 1.558 GB, free: 168 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.751, allocations: 4 kB / 1.558 GB, free: 164 kB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/1.751, allocations: 11.88 kB / 1.558 GB, free: 152 kB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9103/2.661, allocations: 0.5662 MB / 1.558 GB, free: 389 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/2.662, allocations: 335 kB / 1.559 GB, free: 388.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/2.662, allocations: 11.38 kB / 1.559 GB, free: 388.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008786/2.663, allocations: 50.61 kB / 1.559 GB, free: 388.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/2.663, allocations: 26.81 kB / 1.559 GB, free: 388.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/2.663, allocations: 16.45 kB / 1.559 GB, free: 388.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003563/2.667, allocations: 1.552 MB / 1.56 GB, free: 388.6 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.21e-07/2.667, allocations: 0.5 kB / 1.56 GB, free: 388.6 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003563/2.67, allocations: 0.8179 MB / 1.561 GB, free: 388.5 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.001024/2.671, allocations: 450.9 kB / 1.562 GB, free: 388.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003085/2.674, allocations: 1.44 MB / 1.563 GB, free: 387.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/2.674, allocations: 3.969 kB / 1.563 GB, free: 387.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/2.675, allocations: 124.2 kB / 1.563 GB, free: 387.9 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004613/2.679, allocations: 1.072 MB / 1.564 GB, free: 387.6 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/2.684, allocations: 3.052 MB / 1.567 GB, free: 386 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/2.685, allocations: 1.488 MB / 1.569 GB, free: 385.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001848/2.687, allocations: 463.4 kB / 1.569 GB, free: 385.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/2.687, allocations: 125.2 kB / 1.569 GB, free: 385.1 MB / 1.279 GB Notification: Performance of SimCode: time 1.312e-06/2.687, allocations: 0 / 1.569 GB, free: 385.1 MB / 1.279 GB Notification: Performance of Templates: time 0.05349/2.74, allocations: 36.11 MB / 1.604 GB, free: 353.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches