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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_10_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.004187/0.004187, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001087/0.001087, allocations: 196.3 kB / 16.67 MB, free: 6.355 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.54/2.54, allocations: 437.1 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2415, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8139/1.055, allocations: 304.9 MB / 1.464 GB, free: 3.789 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03465/1.09, allocations: 27.44 MB / 1.491 GB, free: 8.262 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/1.093, allocations: 75.62 kB / 1.491 GB, free: 8.188 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005887/1.099, allocations: 2.263 MB / 1.493 GB, free: 5.914 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00795/1.107, allocations: 3.17 MB / 1.496 GB, free: 2.734 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006485/1.113, allocations: 2.78 MB / 1.499 GB, free: 15.96 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01037/1.124, allocations: 7.273 MB / 1.506 GB, free: 8.676 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/1.127, allocations: 1.825 MB / 1.508 GB, free: 6.812 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004739/1.131, allocations: 2.305 MB / 1.51 GB, free: 4.5 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/1.134, allocations: 1.352 MB / 1.511 GB, free: 3.152 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005208/1.135, allocations: 216 kB / 1.511 GB, free: 2.941 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006241/1.141, allocations: 3.227 MB / 1.515 GB, free: 15.71 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009263/1.142, allocations: 0.7595 MB / 1.515 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001872/1.144, allocations: 1.268 MB / 1.517 GB, free: 13.67 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007358/1.151, allocations: 4.933 MB / 1.521 GB, free: 8.723 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.151, allocations: 0 / 1.521 GB, free: 8.723 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.503e-06/1.151, allocations: 3.938 kB / 1.521 GB, free: 8.719 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001039/1.152, allocations: 0 / 1.521 GB, free: 8.719 MB / 1.186 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.005509/1.157, allocations: 2.821 MB / 1.524 GB, free: 5.82 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/1.157, allocations: 8.031 kB / 1.524 GB, free: 5.812 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002547/1.157, allocations: 172.9 kB / 1.524 GB, free: 5.633 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00438/1.162, allocations: 0.7205 MB / 1.525 GB, free: 4.91 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009774/1.172, allocations: 5.665 MB / 1.531 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-05/1.172, allocations: 90.19 kB / 1.531 GB, free: 15.1 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/1.172, allocations: 112 kB / 1.531 GB, free: 14.99 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/1.175, allocations: 1.398 MB / 1.532 GB, free: 13.45 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.175, allocations: 7.938 kB / 1.532 GB, free: 13.45 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.175, allocations: 48 kB / 1.532 GB, free: 13.4 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/1.175, allocations: 38 kB / 1.532 GB, free: 13.36 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/1.177, allocations: 0.9833 MB / 1.533 GB, free: 12.38 MB / 1.201 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.008541/1.186, allocations: 7.67 MB / 1.541 GB, free: 4.297 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/1.187, allocations: 375.8 kB / 1.541 GB, free: 3.902 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/1.187, allocations: 112.8 kB / 1.541 GB, free: 3.789 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/1.187, allocations: 186.2 kB / 1.541 GB, free: 3.57 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/1.187, allocations: 42.55 kB / 1.541 GB, free: 3.52 MB / 1.201 GB Notification: Performance of pre-optimization done (n=18): time 2.385e-06/1.187, allocations: 0 / 1.541 GB, free: 3.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=18): time 0.001524/1.189, allocations: 0.5295 MB / 1.542 GB, free: 2.984 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/1.189, allocations: 59.39 kB / 1.542 GB, free: 2.914 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/1.192, allocations: 2.284 MB / 1.544 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/1.192, allocations: 33.7 kB / 1.544 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007912/1.193, allocations: 0.992 MB / 1.545 GB, free: 15.57 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/1.193, allocations: 79.42 kB / 1.545 GB, free: 15.49 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/1.193, allocations: 282.4 kB / 1.545 GB, free: 15.2 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.193, allocations: 353.9 kB / 1.546 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008868/1.194, allocations: 456.9 kB / 1.546 GB, free: 14.4 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.195, allocations: 0.8958 MB / 1.547 GB, free: 13.3 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/1.197, allocations: 1.214 MB / 1.548 GB, free: 11.89 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.197, allocations: 4 kB / 1.548 GB, free: 11.89 MB / 1.217 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002668/1.2, allocations: 1.509 MB / 1.55 GB, free: 10.37 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.2, allocations: 16.22 kB / 1.55 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/1.2, allocations: 16 kB / 1.55 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/1.2, allocations: 20 kB / 1.55 GB, free: 10.32 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/1.201, allocations: 243.6 kB / 1.55 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.851e-05/1.201, allocations: 31.86 kB / 1.55 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.202, allocations: 230.5 kB / 1.55 GB, free: 9.824 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/1.202, allocations: 59.91 kB / 1.55 GB, free: 9.766 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001578/1.204, allocations: 0.9278 MB / 1.551 GB, free: 8.832 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/1.205, allocations: 0.8919 MB / 1.552 GB, free: 7.73 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001504/1.206, allocations: 1.195 MB / 1.553 GB, free: 6.34 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.482e-06/1.206, allocations: 4 kB / 1.553 GB, free: 6.336 MB / 1.217 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002532/1.209, allocations: 1.493 MB / 1.555 GB, free: 4.84 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.209, allocations: 15.98 kB / 1.555 GB, free: 4.824 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.209, allocations: 16.09 kB / 1.555 GB, free: 4.809 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.209, allocations: 24 kB / 1.555 GB, free: 4.785 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008381/1.21, allocations: 235.6 kB / 1.555 GB, free: 4.555 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/1.21, allocations: 27.88 kB / 1.555 GB, free: 4.527 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.211, allocations: 139.4 kB / 1.555 GB, free: 4.391 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.66e-05/1.211, allocations: 59.92 kB / 1.555 GB, free: 4.332 MB / 1.217 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.0003207/1.212, allocations: 247.8 kB / 1.556 GB, free: 4.082 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/1.212, allocations: 202.6 kB / 1.556 GB, free: 3.883 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/1.212, allocations: 168 kB / 1.556 GB, free: 3.715 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.212, allocations: 0 / 1.556 GB, free: 3.715 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/1.212, allocations: 4 kB / 1.556 GB, free: 3.711 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.212, allocations: 3.938 kB / 1.556 GB, free: 3.707 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/1.216, allocations: 1.866 MB / 1.558 GB, free: 1.727 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.216, allocations: 4 kB / 1.558 GB, free: 1.723 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/1.216, allocations: 56.36 kB / 1.558 GB, free: 1.668 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.216, allocations: 4 kB / 1.558 GB, free: 1.664 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/1.216, allocations: 12 kB / 1.558 GB, free: 1.652 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/1.216, allocations: 4 kB / 1.558 GB, free: 1.648 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.216, allocations: 12 kB / 1.558 GB, free: 1.637 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.217, allocations: 0.5876 MB / 1.558 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/1.218, allocations: 335.6 kB / 1.559 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.218, allocations: 8 kB / 1.559 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007664/1.219, allocations: 51.94 kB / 1.559 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/1.219, allocations: 31.86 kB / 1.559 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/1.219, allocations: 8 kB / 1.559 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002182/1.221, allocations: 1.551 MB / 1.56 GB, free: 14.96 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.11e-07/1.221, allocations: 4 kB / 1.56 GB, free: 14.96 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00208/1.223, allocations: 0.8231 MB / 1.561 GB, free: 14.14 MB / 1.232 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.001885/1.225, allocations: 1.457 MB / 1.563 GB, free: 12.6 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002637/1.227, allocations: 1.443 MB / 1.564 GB, free: 11.16 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.227, allocations: 0 / 1.564 GB, free: 11.16 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003494/1.228, allocations: 129 kB / 1.564 GB, free: 11.04 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.232, allocations: 1.069 MB / 1.565 GB, free: 10 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.25, allocations: 13.75 MB / 1.579 GB, free: 11.57 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.251, allocations: 1.485 MB / 1.58 GB, free: 10.05 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001604/1.253, allocations: 453 kB / 1.58 GB, free: 9.605 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008613/1.254, allocations: 0.7297 MB / 1.581 GB, free: 8.875 MB / 1.248 GB Notification: Performance of SimCode: time 8.72e-07/1.254, allocations: 3.938 kB / 1.581 GB, free: 8.871 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07939/1.333, allocations: 51.85 MB / 1.632 GB, free: 5.609 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.72, allocations: 15.95 kB / 1.632 GB, free: 5.594 MB / 1.295 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/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