Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001314/0.001314, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001303/0.001303, allocations: 189.9 kB / 17.2 MB, free: 5.598 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.99/2.99, allocations: 469.8 MB / 0.743 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 68.56 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3293, allocations: 159.1 MB / 1.065 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.9532/1.283, allocations: 304.9 MB / 1.362 GB, free: 7.52 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03921/1.322, allocations: 27.44 MB / 1.389 GB, free: 12 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003398/1.325, allocations: 87.56 kB / 1.389 GB, free: 11.91 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0108/1.336, allocations: 4.714 MB / 1.394 GB, free: 7.188 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008675/1.345, allocations: 2.925 MB / 1.397 GB, free: 4.25 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00685/1.352, allocations: 2.613 MB / 1.399 GB, free: 1.648 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01152/1.363, allocations: 7.138 MB / 1.406 GB, free: 10.49 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003287/1.367, allocations: 1.796 MB / 1.408 GB, free: 8.645 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005235/1.372, allocations: 2.223 MB / 1.41 GB, free: 6.414 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/1.375, allocations: 1.291 MB / 1.411 GB, free: 5.125 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005484/1.376, allocations: 208 kB / 1.412 GB, free: 4.922 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006988/1.383, allocations: 3.2 MB / 1.415 GB, free: 1.715 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/1.384, allocations: 0.7478 MB / 1.415 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002057/1.386, allocations: 1.252 MB / 1.417 GB, free: 15.7 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.008827/1.395, allocations: 4.83 MB / 1.421 GB, free: 10.86 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.395, allocations: 0 / 1.421 GB, free: 10.86 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.853e-06/1.395, allocations: 0 / 1.421 GB, free: 10.86 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.819e-05/1.395, allocations: 0 / 1.421 GB, free: 10.86 MB / 1.139 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.005502/1.4, allocations: 2.716 MB / 1.424 GB, free: 8.074 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.4, allocations: 12.03 kB / 1.424 GB, free: 8.062 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/1.405, allocations: 0.7269 MB / 1.425 GB, free: 7.332 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.416, allocations: 5.519 MB / 1.43 GB, free: 1.758 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004308/1.416, allocations: 142.1 kB / 1.43 GB, free: 1.617 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/1.416, allocations: 112 kB / 1.43 GB, free: 1.508 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/1.419, allocations: 1.411 MB / 1.432 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/1.419, allocations: 3.938 kB / 1.432 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/1.42, allocations: 52 kB / 1.432 GB, free: 15.9 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/1.42, allocations: 41.94 kB / 1.432 GB, free: 15.86 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/1.422, allocations: 0.9873 MB / 1.433 GB, free: 14.88 MB / 1.154 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.0102/1.432, allocations: 7.704 MB / 1.44 GB, free: 6.762 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/1.433, allocations: 367.8 kB / 1.441 GB, free: 6.375 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/1.434, allocations: 112.8 kB / 1.441 GB, free: 6.262 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/1.434, allocations: 198.1 kB / 1.441 GB, free: 6.031 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/1.434, allocations: 34.56 kB / 1.441 GB, free: 5.988 MB / 1.154 GB Notification: Performance of pre-optimization done (n=18): time 2.244e-06/1.434, allocations: 0 / 1.441 GB, free: 5.988 MB / 1.154 GB Notification: Performance of matching and sorting (n=18): time 0.001749/1.436, allocations: 0.5282 MB / 1.442 GB, free: 5.453 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/1.436, allocations: 55.41 kB / 1.442 GB, free: 5.387 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00418/1.44, allocations: 2.287 MB / 1.444 GB, free: 3.078 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/1.44, allocations: 33.7 kB / 1.444 GB, free: 3.039 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/1.441, allocations: 0.9708 MB / 1.445 GB, free: 2.055 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/1.441, allocations: 91 kB / 1.445 GB, free: 1.965 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004696/1.442, allocations: 278.2 kB / 1.445 GB, free: 1.688 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.442, allocations: 357.9 kB / 1.446 GB, free: 1.332 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/1.443, allocations: 456.9 kB / 1.446 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/1.445, allocations: 0.8958 MB / 1.447 GB, free: 15.78 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/1.447, allocations: 1.231 MB / 1.448 GB, free: 14.36 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/1.447, allocations: 4 kB / 1.448 GB, free: 14.35 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003249/1.45, allocations: 1.515 MB / 1.449 GB, free: 12.83 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/1.45, allocations: 12 kB / 1.45 GB, free: 12.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/1.45, allocations: 12 kB / 1.45 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.304e-05/1.45, allocations: 20.81 kB / 1.45 GB, free: 12.79 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/1.451, allocations: 251.6 kB / 1.45 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.825e-05/1.451, allocations: 29.05 kB / 1.45 GB, free: 12.51 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/1.453, allocations: 227.9 kB / 1.45 GB, free: 12.29 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.453, allocations: 51.98 kB / 1.45 GB, free: 12.24 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001832/1.455, allocations: 0.9317 MB / 1.451 GB, free: 11.3 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001352/1.456, allocations: 0.8919 MB / 1.452 GB, free: 10.2 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001895/1.458, allocations: 1.201 MB / 1.453 GB, free: 8.805 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.315e-05/1.458, allocations: 4 kB / 1.453 GB, free: 8.801 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003157/1.461, allocations: 1.493 MB / 1.454 GB, free: 7.301 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.461, allocations: 12 kB / 1.455 GB, free: 7.289 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/1.461, allocations: 16 kB / 1.455 GB, free: 7.273 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/1.461, allocations: 20 kB / 1.455 GB, free: 7.254 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009012/1.462, allocations: 247.9 kB / 1.455 GB, free: 7.012 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/1.462, allocations: 29.44 kB / 1.455 GB, free: 6.984 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.464, allocations: 147.6 kB / 1.455 GB, free: 6.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/1.464, allocations: 51.94 kB / 1.455 GB, free: 6.789 MB / 1.17 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.0003493/1.464, allocations: 255.8 kB / 1.455 GB, free: 6.531 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005017/1.465, allocations: 197.4 kB / 1.455 GB, free: 6.336 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/1.465, allocations: 168 kB / 1.456 GB, free: 6.168 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.465, allocations: 0 / 1.456 GB, free: 6.168 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.465, allocations: 0 / 1.456 GB, free: 6.168 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.465, allocations: 7.922 kB / 1.456 GB, free: 6.16 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/1.47, allocations: 1.862 MB / 1.457 GB, free: 4.184 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.47, allocations: 4 kB / 1.457 GB, free: 4.18 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/1.47, allocations: 60.28 kB / 1.457 GB, free: 4.121 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/1.47, allocations: 4 kB / 1.457 GB, free: 4.117 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/1.47, allocations: 12.12 kB / 1.457 GB, free: 4.105 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/1.47, allocations: 11.94 kB / 1.457 GB, free: 4.094 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.47, allocations: 11.92 kB / 1.458 GB, free: 4.082 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.471, allocations: 0.5609 MB / 1.458 GB, free: 3.449 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/1.472, allocations: 330.4 kB / 1.458 GB, free: 3.105 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/1.473, allocations: 8 kB / 1.458 GB, free: 3.098 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.474, allocations: 55.88 kB / 1.458 GB, free: 3.043 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/1.474, allocations: 27.92 kB / 1.458 GB, free: 3.016 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.474, allocations: 8 kB / 1.458 GB, free: 3.008 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003247/1.477, allocations: 1.555 MB / 1.46 GB, free: 1.441 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.294e-06/1.477, allocations: 4 kB / 1.46 GB, free: 1.438 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003228/1.48, allocations: 0.823 MB / 1.461 GB, free: 0.6133 MB / 1.17 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.00112/1.481, allocations: 434.8 kB / 1.461 GB, free: 184 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00337/1.485, allocations: 1.453 MB / 1.463 GB, free: 14.73 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/1.485, allocations: 4 kB / 1.463 GB, free: 14.73 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/1.485, allocations: 120.3 kB / 1.463 GB, free: 14.61 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/1.49, allocations: 1.075 MB / 1.464 GB, free: 13.57 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/1.497, allocations: 3.18 MB / 1.467 GB, free: 10.3 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/1.499, allocations: 1.485 MB / 1.468 GB, free: 8.773 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/1.499, allocations: 139.3 kB / 1.468 GB, free: 8.637 MB / 1.186 GB Notification: Performance of SimCode: time 9.92e-07/1.499, allocations: 0 / 1.468 GB, free: 8.637 MB / 1.186 GB Notification: Performance of Templates: time 0.05825/1.557, allocations: 33.25 MB / 1.501 GB, free: 7.586 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches