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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001575, allocations: 108 kB / 15.6 MB, free: 132 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.001505/0.001505, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 469.8 MB / 0.7424 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001982, allocations: 65.92 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2504, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7398/0.9903, allocations: 304.8 MB / 1.362 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02763/1.018, allocations: 27.47 MB / 1.389 GB, free: 9.926 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/1.02, allocations: 78.56 kB / 1.389 GB, free: 9.926 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007989/1.028, allocations: 4.714 MB / 1.393 GB, free: 8.699 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005973/1.034, allocations: 2.936 MB / 1.396 GB, free: 7.578 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005332/1.039, allocations: 2.621 MB / 1.399 GB, free: 6.117 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007982/1.047, allocations: 7.122 MB / 1.406 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/1.05, allocations: 1.805 MB / 1.407 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/1.053, allocations: 2.208 MB / 1.41 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/1.055, allocations: 1.299 MB / 1.411 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002331/1.055, allocations: 205.1 kB / 1.411 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005138/1.06, allocations: 3.199 MB / 1.414 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007196/1.061, allocations: 0.7527 MB / 1.415 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/1.062, allocations: 1.252 MB / 1.416 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005184/1.067, allocations: 4.824 MB / 1.421 GB, free: 8.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/1.067, allocations: 0 / 1.421 GB, free: 8.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/1.068, allocations: 0 / 1.421 GB, free: 8.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.61e-05/1.068, allocations: 2.469 kB / 1.421 GB, free: 8.66 MB / 1.029 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.003904/1.071, allocations: 2.722 MB / 1.424 GB, free: 6.582 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/1.071, allocations: 8.469 kB / 1.424 GB, free: 6.582 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/1.072, allocations: 163 kB / 1.424 GB, free: 6.449 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004289/1.076, allocations: 0.7189 MB / 1.424 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009283/1.085, allocations: 5.528 MB / 1.43 GB, free: 1.555 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004087/1.086, allocations: 142.1 kB / 1.43 GB, free: 1.414 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/1.086, allocations: 115.9 kB / 1.43 GB, free: 1.301 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/1.088, allocations: 1.406 MB / 1.431 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/1.089, allocations: 3.938 kB / 1.431 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/1.089, allocations: 55.94 kB / 1.431 GB, free: 15.69 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/1.089, allocations: 41.98 kB / 1.431 GB, free: 15.65 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/1.091, allocations: 0.9873 MB / 1.432 GB, free: 14.66 MB / 1.045 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.008683/1.1, allocations: 7.711 MB / 1.44 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009416/1.101, allocations: 363.8 kB / 1.44 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/1.101, allocations: 122 kB / 1.44 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/1.102, allocations: 190.2 kB / 1.441 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/1.102, allocations: 34.55 kB / 1.441 GB, free: 5.773 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 3.586e-06/1.102, allocations: 0 / 1.441 GB, free: 5.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.001492/1.103, allocations: 0.524 MB / 1.441 GB, free: 5.242 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.103, allocations: 63.33 kB / 1.441 GB, free: 5.168 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/1.106, allocations: 2.284 MB / 1.443 GB, free: 2.863 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/1.106, allocations: 33.7 kB / 1.443 GB, free: 2.824 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/1.107, allocations: 0.9708 MB / 1.444 GB, free: 1.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-05/1.107, allocations: 83.08 kB / 1.445 GB, free: 1.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003863/1.108, allocations: 278.2 kB / 1.445 GB, free: 1.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.108, allocations: 353.9 kB / 1.445 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.109, allocations: 460.9 kB / 1.446 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/1.11, allocations: 0.8958 MB / 1.446 GB, free: 15.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/1.112, allocations: 1.227 MB / 1.448 GB, free: 14.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.112, allocations: 4 kB / 1.448 GB, free: 14.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002899/1.115, allocations: 1.516 MB / 1.449 GB, free: 12.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.115, allocations: 12 kB / 1.449 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.115, allocations: 12 kB / 1.449 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/1.115, allocations: 20 kB / 1.449 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/1.116, allocations: 259.9 kB / 1.449 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/1.116, allocations: 27.92 kB / 1.449 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.118, allocations: 218.6 kB / 1.45 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/1.118, allocations: 59.98 kB / 1.45 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001574/1.119, allocations: 0.9356 MB / 1.451 GB, free: 11.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001285/1.121, allocations: 0.8958 MB / 1.451 GB, free: 9.984 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001793/1.122, allocations: 1.199 MB / 1.453 GB, free: 8.586 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/1.122, allocations: 4 kB / 1.453 GB, free: 8.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002726/1.125, allocations: 1.489 MB / 1.454 GB, free: 7.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.125, allocations: 22.16 kB / 1.454 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.125, allocations: 16 kB / 1.454 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.125, allocations: 20 kB / 1.454 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008621/1.126, allocations: 243.6 kB / 1.454 GB, free: 6.797 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/1.126, allocations: 35.86 kB / 1.454 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.127, allocations: 144.2 kB / 1.455 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/1.127, allocations: 48 kB / 1.455 GB, free: 6.574 MB / 1.061 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.0002111/1.128, allocations: 259.7 kB / 1.455 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/1.128, allocations: 193.5 kB / 1.455 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/1.128, allocations: 172 kB / 1.455 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.128, allocations: 3.938 kB / 1.455 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.128, allocations: 0 / 1.455 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.128, allocations: 0 / 1.455 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/1.131, allocations: 1.866 MB / 1.457 GB, free: 3.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.131, allocations: 4 kB / 1.457 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/1.132, allocations: 47.91 kB / 1.457 GB, free: 3.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.132, allocations: 4 kB / 1.457 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/1.132, allocations: 24.17 kB / 1.457 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/1.132, allocations: 7.938 kB / 1.457 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.132, allocations: 4 kB / 1.457 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/1.133, allocations: 0.563 MB / 1.458 GB, free: 3.238 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/1.133, allocations: 330.4 kB / 1.458 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.133, allocations: 15.92 kB / 1.458 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/1.134, allocations: 47.95 kB / 1.458 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/1.134, allocations: 31.86 kB / 1.458 GB, free: 2.801 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/1.134, allocations: 11.98 kB / 1.458 GB, free: 2.789 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002298/1.137, allocations: 1.544 MB / 1.46 GB, free: 1.234 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.3e-07/1.137, allocations: 4 kB / 1.46 GB, free: 1.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001987/1.139, allocations: 0.8269 MB / 1.46 GB, free: 412 kB / 1.061 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.002082/1.141, allocations: 1.452 MB / 1.462 GB, free: 14.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002844/1.143, allocations: 1.447 MB / 1.463 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.144, allocations: 1.562 kB / 1.463 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/1.144, allocations: 124.2 kB / 1.463 GB, free: 13.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004078/1.148, allocations: 1.076 MB / 1.464 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/1.169, allocations: 15.25 MB / 1.479 GB, free: 11.67 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.171, allocations: 1.481 MB / 1.481 GB, free: 10.16 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001827/1.173, allocations: 465 kB / 1.481 GB, free: 9.699 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009982/1.174, allocations: 0.7258 MB / 1.482 GB, free: 8.973 MB / 1.092 GB Notification: Performance of SimCode: time 2.91e-07/1.174, allocations: 0 / 1.482 GB, free: 8.973 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08982/1.263, allocations: 51.56 MB / 1.532 GB, free: 5.969 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/9.883, allocations: 14.28 kB / 1.532 GB, free: 5.957 MB / 1.139 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv","/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