Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan",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.001618/0.001618, 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.001872/0.001872, allocations: 193.7 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 64.03 kB / 0.9082 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2859, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8243/1.11, allocations: 312.7 MB / 1.369 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03149/1.142, allocations: 29.37 MB / 1.398 GB, free: 3.895 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/1.145, allocations: 83.69 kB / 1.398 GB, free: 3.895 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009665/1.155, allocations: 4.878 MB / 1.403 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00807/1.163, allocations: 3.038 MB / 1.405 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006612/1.169, allocations: 2.622 MB / 1.408 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009943/1.179, allocations: 7.406 MB / 1.415 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003241/1.183, allocations: 2.065 MB / 1.417 GB, free: 9.355 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/1.188, allocations: 2.36 MB / 1.42 GB, free: 7.906 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/1.191, allocations: 1.481 MB / 1.421 GB, free: 6.977 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006351/1.191, allocations: 245 kB / 1.421 GB, free: 6.977 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006851/1.198, allocations: 3.59 MB / 1.425 GB, free: 5.008 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/1.199, allocations: 0.8115 MB / 1.426 GB, free: 4.426 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002325/1.202, allocations: 1.382 MB / 1.427 GB, free: 3.469 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008075/1.21, allocations: 5.329 MB / 1.432 GB, free: 15.38 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.21, allocations: 0 / 1.432 GB, free: 15.38 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/1.21, allocations: 0 / 1.432 GB, free: 15.38 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001043/1.21, allocations: 0 / 1.432 GB, free: 15.38 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005848/1.216, allocations: 2.904 MB / 1.435 GB, free: 12.4 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.216, allocations: 12.03 kB / 1.435 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000344/1.216, allocations: 198.2 kB / 1.435 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006254/1.222, allocations: 0.9296 MB / 1.436 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/1.232, allocations: 5.622 MB / 1.442 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004277/1.233, allocations: 158.5 kB / 1.442 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/1.233, allocations: 135.9 kB / 1.442 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/1.237, allocations: 1.597 MB / 1.443 GB, free: 3.621 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/1.237, allocations: 3.938 kB / 1.443 GB, free: 3.617 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/1.237, allocations: 56 kB / 1.443 GB, free: 3.562 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/1.237, allocations: 46.5 kB / 1.444 GB, free: 3.516 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/1.241, allocations: 1.345 MB / 1.445 GB, free: 2.164 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.01051/1.251, allocations: 7.671 MB / 1.452 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/1.253, allocations: 0.6892 MB / 1.453 GB, free: 9.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/1.254, allocations: 256.7 kB / 1.453 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/1.254, allocations: 194.1 kB / 1.453 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/1.254, allocations: 34.56 kB / 1.453 GB, free: 8.727 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 2.245e-06/1.254, allocations: 4 kB / 1.453 GB, free: 8.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.002857/1.257, allocations: 1.03 MB / 1.454 GB, free: 7.645 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.257, allocations: 63.34 kB / 1.455 GB, free: 7.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003634/1.261, allocations: 2.368 MB / 1.457 GB, free: 5.184 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/1.261, allocations: 37.69 kB / 1.457 GB, free: 5.141 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00082/1.262, allocations: 0.9574 MB / 1.458 GB, free: 4.172 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/1.262, allocations: 130.2 kB / 1.458 GB, free: 4.043 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/1.262, allocations: 250.3 kB / 1.458 GB, free: 3.793 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.263, allocations: 349.9 kB / 1.459 GB, free: 3.445 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/1.264, allocations: 0.5282 MB / 1.459 GB, free: 2.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/1.265, allocations: 0.7895 MB / 1.46 GB, free: 2.004 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/1.267, allocations: 1.124 MB / 1.461 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.267, allocations: 4 kB / 1.461 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003493/1.271, allocations: 1.64 MB / 1.463 GB, free: 15.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.271, allocations: 8 kB / 1.463 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.271, allocations: 8.062 kB / 1.463 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/1.271, allocations: 49.2 kB / 1.463 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.272, allocations: 247.6 kB / 1.463 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/1.274, allocations: 1.569 MB / 1.464 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.275, allocations: 249 kB / 1.465 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/1.276, allocations: 39.98 kB / 1.465 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001981/1.278, allocations: 1.018 MB / 1.466 GB, free: 11.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001359/1.279, allocations: 0.7871 MB / 1.466 GB, free: 10.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001969/1.281, allocations: 1.104 MB / 1.467 GB, free: 9.688 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.098e-06/1.281, allocations: 3.984 kB / 1.467 GB, free: 9.684 MB / 1.076 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003333/1.284, allocations: 1.619 MB / 1.469 GB, free: 8.035 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.284, allocations: 8.375 kB / 1.469 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.284, allocations: 12 kB / 1.469 GB, free: 8.016 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-05/1.284, allocations: 36.84 kB / 1.469 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.286, allocations: 235.7 kB / 1.469 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/1.287, allocations: 1.576 MB / 1.471 GB, free: 6.031 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/1.288, allocations: 168.5 kB / 1.471 GB, free: 5.867 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/1.288, allocations: 52.05 kB / 1.471 GB, free: 5.816 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002548/1.289, allocations: 228.5 kB / 1.471 GB, free: 5.586 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/1.289, allocations: 201.4 kB / 1.471 GB, free: 5.387 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/1.291, allocations: 0.7589 MB / 1.472 GB, free: 4.59 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/1.291, allocations: 4 kB / 1.472 GB, free: 4.586 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.291, allocations: 3.984 kB / 1.472 GB, free: 4.582 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.291, allocations: 3.938 kB / 1.472 GB, free: 4.578 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/1.295, allocations: 2.167 MB / 1.474 GB, free: 2.309 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.295, allocations: 0 / 1.474 GB, free: 2.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/1.296, allocations: 104.1 kB / 1.474 GB, free: 2.207 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.439e-05/1.296, allocations: 24.84 kB / 1.474 GB, free: 2.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/1.296, allocations: 11.98 kB / 1.474 GB, free: 2.168 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/1.297, allocations: 1.554 MB / 1.476 GB, free: 492 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.297, allocations: 4.031 kB / 1.476 GB, free: 488 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/1.299, allocations: 0.8891 MB / 1.477 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/1.299, allocations: 354.3 kB / 1.477 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/1.3, allocations: 8 kB / 1.477 GB, free: 15.15 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.301, allocations: 71.86 kB / 1.477 GB, free: 15.08 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/1.301, allocations: 27.91 kB / 1.477 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/1.301, allocations: 19.98 kB / 1.477 GB, free: 15.03 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002901/1.304, allocations: 1.643 MB / 1.479 GB, free: 13.38 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.11e-07/1.304, allocations: 0 / 1.479 GB, free: 13.38 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002607/1.307, allocations: 0.893 MB / 1.48 GB, free: 12.48 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002942/1.31, allocations: 1.784 MB / 1.482 GB, free: 10.62 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004084/1.314, allocations: 1.832 MB / 1.483 GB, free: 8.77 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.314, allocations: 0 / 1.483 GB, free: 8.77 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/1.314, allocations: 352 kB / 1.484 GB, free: 8.414 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005561/1.32, allocations: 1.254 MB / 1.485 GB, free: 7.195 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02569/1.346, allocations: 16.48 MB / 1.501 GB, free: 5.496 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.347, allocations: 1.534 MB / 1.502 GB, free: 3.926 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002372/1.349, allocations: 477.8 kB / 1.503 GB, free: 3.457 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.351, allocations: 0.7961 MB / 1.504 GB, free: 2.66 MB / 1.107 GB Notification: Performance of SimCode: time 1.293e-06/1.351, allocations: 0 / 1.504 GB, free: 2.66 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09886/1.449, allocations: 57.96 MB / 1.56 GB, free: 9.289 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/11.64, allocations: 11.98 kB / 1.56 GB, free: 9.277 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_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.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches