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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_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.001614/0.001614, allocations: 108 kB / 15.61 MB, free: 152 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.001866/0.001866, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 469.4 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 66.72 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2649, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7279/0.9929, allocations: 304.9 MB / 1.361 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02898/1.022, allocations: 27.48 MB / 1.388 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/1.025, allocations: 80.72 kB / 1.388 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008497/1.033, allocations: 4.722 MB / 1.393 GB, free: 9.012 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006705/1.04, allocations: 2.914 MB / 1.396 GB, free: 7.902 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005583/1.046, allocations: 2.63 MB / 1.398 GB, free: 6.473 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008227/1.054, allocations: 7.117 MB / 1.405 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/1.056, allocations: 1.805 MB / 1.407 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/1.06, allocations: 2.219 MB / 1.409 GB, free: 340 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/1.063, allocations: 1.285 MB / 1.41 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004266/1.063, allocations: 207.5 kB / 1.411 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005683/1.069, allocations: 3.196 MB / 1.414 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000951/1.07, allocations: 0.7522 MB / 1.414 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002181/1.072, allocations: 1.252 MB / 1.416 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006594/1.079, allocations: 4.821 MB / 1.42 GB, free: 9.078 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.079, allocations: 0 / 1.42 GB, free: 9.078 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.777e-06/1.079, allocations: 0 / 1.42 GB, free: 9.078 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001206/1.079, allocations: 4 kB / 1.42 GB, free: 9.074 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.005262/1.084, allocations: 2.713 MB / 1.423 GB, free: 7.004 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/1.084, allocations: 10.66 kB / 1.423 GB, free: 7.004 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/1.084, allocations: 170.5 kB / 1.423 GB, free: 6.863 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004399/1.089, allocations: 0.7109 MB / 1.424 GB, free: 6.539 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008996/1.098, allocations: 5.526 MB / 1.429 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/1.098, allocations: 146.1 kB / 1.429 GB, free: 1.879 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.098, allocations: 115.9 kB / 1.43 GB, free: 1.766 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/1.101, allocations: 1.406 MB / 1.431 GB, free: 224 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.101, allocations: 7.938 kB / 1.431 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.101, allocations: 47.98 kB / 1.431 GB, free: 168 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/1.101, allocations: 46 kB / 1.431 GB, free: 124 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/1.103, allocations: 0.9873 MB / 1.432 GB, free: 15.13 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.007882/1.111, allocations: 7.707 MB / 1.44 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/1.112, allocations: 367 kB / 1.44 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/1.112, allocations: 113.8 kB / 1.44 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/1.113, allocations: 198.2 kB / 1.44 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/1.113, allocations: 42.5 kB / 1.44 GB, free: 6.234 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.903e-06/1.113, allocations: 0 / 1.44 GB, free: 6.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.001446/1.114, allocations: 0.524 MB / 1.441 GB, free: 5.703 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/1.114, allocations: 59.34 kB / 1.441 GB, free: 5.633 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/1.117, allocations: 2.284 MB / 1.443 GB, free: 3.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/1.117, allocations: 33.7 kB / 1.443 GB, free: 3.289 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007619/1.118, allocations: 0.9708 MB / 1.444 GB, free: 2.305 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/1.118, allocations: 83.02 kB / 1.444 GB, free: 2.223 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/1.118, allocations: 286.2 kB / 1.444 GB, free: 1.938 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.119, allocations: 353.9 kB / 1.445 GB, free: 1.586 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009453/1.119, allocations: 460.9 kB / 1.445 GB, free: 1.129 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/1.121, allocations: 0.8997 MB / 1.446 GB, free: 20 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.122, allocations: 1.218 MB / 1.447 GB, free: 14.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.122, allocations: 4 kB / 1.447 GB, free: 14.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002659/1.125, allocations: 1.523 MB / 1.449 GB, free: 13.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.125, allocations: 12 kB / 1.449 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.125, allocations: 12 kB / 1.449 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.125, allocations: 20 kB / 1.449 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/1.126, allocations: 252.1 kB / 1.449 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/1.126, allocations: 27.92 kB / 1.449 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.127, allocations: 223.1 kB / 1.449 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/1.128, allocations: 53.56 kB / 1.449 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001416/1.129, allocations: 0.9356 MB / 1.45 GB, free: 11.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001088/1.13, allocations: 0.8919 MB / 1.451 GB, free: 10.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001646/1.132, allocations: 1.202 MB / 1.452 GB, free: 9.043 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.813e-06/1.132, allocations: 4 kB / 1.452 GB, free: 9.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002514/1.134, allocations: 1.497 MB / 1.454 GB, free: 7.531 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.134, allocations: 11.94 kB / 1.454 GB, free: 7.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/1.134, allocations: 16 kB / 1.454 GB, free: 7.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.134, allocations: 20 kB / 1.454 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/1.135, allocations: 247.7 kB / 1.454 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/1.135, allocations: 31.86 kB / 1.454 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/1.136, allocations: 144.2 kB / 1.454 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/1.136, allocations: 51.98 kB / 1.454 GB, free: 7.02 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.0001828/1.137, allocations: 251.8 kB / 1.454 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/1.137, allocations: 197.5 kB / 1.455 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/1.137, allocations: 172 kB / 1.455 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.137, allocations: 3.938 kB / 1.455 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.137, allocations: 0 / 1.455 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.137, allocations: 3.984 kB / 1.455 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/1.14, allocations: 1.866 MB / 1.457 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.14, allocations: 4 kB / 1.457 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/1.14, allocations: 48.3 kB / 1.457 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.14, allocations: 11.94 kB / 1.457 GB, free: 4.348 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/1.14, allocations: 20 kB / 1.457 GB, free: 4.328 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.14, allocations: 8 kB / 1.457 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.14, allocations: 4 kB / 1.457 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/1.141, allocations: 0.5685 MB / 1.457 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/1.142, allocations: 326.4 kB / 1.458 GB, free: 3.336 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/1.142, allocations: 15.94 kB / 1.458 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000821/1.143, allocations: 55.94 kB / 1.458 GB, free: 3.266 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/1.143, allocations: 23.86 kB / 1.458 GB, free: 3.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/1.143, allocations: 12 kB / 1.458 GB, free: 3.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002067/1.145, allocations: 1.555 MB / 1.459 GB, free: 1.664 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/1.145, allocations: 0 / 1.459 GB, free: 1.664 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001964/1.147, allocations: 0.8192 MB / 1.46 GB, free: 0.8438 MB / 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.001812/1.149, allocations: 1.444 MB / 1.461 GB, free: 15.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.151, allocations: 1.452 MB / 1.463 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.151, allocations: 0 / 1.463 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/1.152, allocations: 124.2 kB / 1.463 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/1.156, allocations: 1.078 MB / 1.464 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.175, allocations: 15.24 MB / 1.479 GB, free: 12.12 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.176, allocations: 1.485 MB / 1.48 GB, free: 10.6 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001909/1.178, allocations: 461 kB / 1.481 GB, free: 10.15 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008924/1.179, allocations: 0.7219 MB / 1.481 GB, free: 9.426 MB / 1.092 GB Notification: Performance of SimCode: time 3.11e-07/1.179, allocations: 0 / 1.481 GB, free: 9.426 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07988/1.259, allocations: 51.55 MB / 1.532 GB, free: 6.41 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/9.705, allocations: 6.75 kB / 1.532 GB, free: 6.406 MB / 1.139 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv","/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