Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_10_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.006999/0.006999, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00164/0.00164, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.557/2.557, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 71.88 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2465, allocations: 151.6 MB / 1.166 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8408/1.087, allocations: 312.7 MB / 1.472 GB, free: 12 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03593/1.123, allocations: 29.36 MB / 1.5 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/1.126, allocations: 79.62 kB / 1.5 GB, free: 14.46 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006232/1.132, allocations: 2.425 MB / 1.503 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007881/1.14, allocations: 3.301 MB / 1.506 GB, free: 8.719 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006289/1.147, allocations: 2.782 MB / 1.509 GB, free: 5.945 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01035/1.157, allocations: 7.542 MB / 1.516 GB, free: 14.39 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002718/1.16, allocations: 2.083 MB / 1.518 GB, free: 12.26 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/1.164, allocations: 2.445 MB / 1.52 GB, free: 9.809 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/1.167, allocations: 1.533 MB / 1.522 GB, free: 8.273 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003258/1.167, allocations: 252 kB / 1.522 GB, free: 8.027 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006202/1.173, allocations: 3.621 MB / 1.526 GB, free: 4.398 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007894/1.174, allocations: 0.8336 MB / 1.526 GB, free: 3.562 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001447/1.175, allocations: 1.384 MB / 1.528 GB, free: 2.172 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007432/1.183, allocations: 5.463 MB / 1.533 GB, free: 12.69 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.183, allocations: 0 / 1.533 GB, free: 12.69 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.473e-06/1.183, allocations: 0 / 1.533 GB, free: 12.69 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.877e-05/1.183, allocations: 0 / 1.533 GB, free: 12.69 MB / 1.201 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.004708/1.188, allocations: 3.023 MB / 1.536 GB, free: 9.594 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.188, allocations: 12.03 kB / 1.536 GB, free: 9.582 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/1.188, allocations: 190.3 kB / 1.536 GB, free: 9.387 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005824/1.194, allocations: 0.9544 MB / 1.537 GB, free: 8.43 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009757/1.204, allocations: 5.752 MB / 1.543 GB, free: 2.625 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/1.204, allocations: 102.6 kB / 1.543 GB, free: 2.523 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/1.204, allocations: 136 kB / 1.543 GB, free: 2.391 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/1.207, allocations: 1.597 MB / 1.545 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/1.207, allocations: 0 / 1.545 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/1.207, allocations: 52 kB / 1.545 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.635e-05/1.207, allocations: 46.5 kB / 1.545 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/1.211, allocations: 1.329 MB / 1.546 GB, free: 15.29 MB / 1.217 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.00962/1.22, allocations: 7.635 MB / 1.553 GB, free: 7.129 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/1.222, allocations: 0.6791 MB / 1.554 GB, free: 6.426 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/1.223, allocations: 256.7 kB / 1.554 GB, free: 6.172 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/1.223, allocations: 194.2 kB / 1.555 GB, free: 5.945 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/1.223, allocations: 30.56 kB / 1.555 GB, free: 5.906 MB / 1.217 GB Notification: Performance of pre-optimization done (n=35): time 1.933e-06/1.223, allocations: 0 / 1.555 GB, free: 5.906 MB / 1.217 GB Notification: Performance of matching and sorting (n=35): time 0.002744/1.226, allocations: 1.056 MB / 1.556 GB, free: 4.805 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/1.226, allocations: 59.34 kB / 1.556 GB, free: 4.734 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/1.229, allocations: 2.361 MB / 1.558 GB, free: 2.355 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/1.229, allocations: 37.7 kB / 1.558 GB, free: 2.312 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007901/1.23, allocations: 0.9704 MB / 1.559 GB, free: 1.332 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/1.23, allocations: 138.9 kB / 1.559 GB, free: 1.195 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/1.23, allocations: 250.5 kB / 1.559 GB, free: 0.9414 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.231, allocations: 353.9 kB / 1.56 GB, free: 0.5898 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/1.232, allocations: 0.5165 MB / 1.56 GB, free: 72 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.233, allocations: 0.7892 MB / 1.561 GB, free: 15.17 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/1.235, allocations: 1.12 MB / 1.562 GB, free: 13.95 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.235, allocations: 3.938 kB / 1.562 GB, free: 13.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003349/1.239, allocations: 1.649 MB / 1.564 GB, free: 12.27 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.239, allocations: 8 kB / 1.564 GB, free: 12.26 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.239, allocations: 4 kB / 1.564 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/1.239, allocations: 37.22 kB / 1.564 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.24, allocations: 239.7 kB / 1.564 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/1.241, allocations: 1.577 MB / 1.565 GB, free: 10.27 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.243, allocations: 238.8 kB / 1.566 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.494e-05/1.243, allocations: 43.97 kB / 1.566 GB, free: 9.988 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001884/1.245, allocations: 1.01 MB / 1.567 GB, free: 8.977 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001305/1.246, allocations: 0.7853 MB / 1.568 GB, free: 8.074 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001894/1.248, allocations: 1.104 MB / 1.569 GB, free: 6.871 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/1.248, allocations: 0 / 1.569 GB, free: 6.871 MB / 1.232 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003059/1.251, allocations: 1.613 MB / 1.57 GB, free: 5.23 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/1.251, allocations: 8.375 kB / 1.57 GB, free: 5.223 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.251, allocations: 15.98 kB / 1.57 GB, free: 5.207 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.356e-05/1.251, allocations: 40.78 kB / 1.57 GB, free: 5.164 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/1.252, allocations: 239.6 kB / 1.57 GB, free: 4.93 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009806/1.253, allocations: 1.564 MB / 1.572 GB, free: 3.227 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.255, allocations: 167.5 kB / 1.572 GB, free: 3.062 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/1.255, allocations: 47.92 kB / 1.572 GB, free: 3.016 MB / 1.232 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.0002185/1.255, allocations: 224 kB / 1.572 GB, free: 2.789 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/1.255, allocations: 218.5 kB / 1.573 GB, free: 2.574 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/1.257, allocations: 0.7668 MB / 1.573 GB, free: 1.773 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.257, allocations: 4 kB / 1.573 GB, free: 1.77 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.257, allocations: 4 kB / 1.573 GB, free: 1.766 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.257, allocations: 0 / 1.573 GB, free: 1.766 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/1.261, allocations: 2.161 MB / 1.575 GB, free: 15.5 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.261, allocations: 4.031 kB / 1.575 GB, free: 15.5 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/1.261, allocations: 91.88 kB / 1.576 GB, free: 15.41 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.511e-05/1.261, allocations: 28.84 kB / 1.576 GB, free: 15.38 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/1.261, allocations: 15.98 kB / 1.576 GB, free: 15.36 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009533/1.262, allocations: 1.556 MB / 1.577 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.262, allocations: 3.938 kB / 1.577 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/1.264, allocations: 0.9069 MB / 1.578 GB, free: 12.7 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/1.264, allocations: 363.5 kB / 1.578 GB, free: 12.32 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.265, allocations: 8 kB / 1.578 GB, free: 12.31 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.266, allocations: 68.03 kB / 1.578 GB, free: 12.25 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/1.266, allocations: 31.89 kB / 1.578 GB, free: 12.21 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/1.266, allocations: 19.98 kB / 1.578 GB, free: 12.2 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002373/1.268, allocations: 1.643 MB / 1.58 GB, free: 10.54 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.41e-07/1.268, allocations: 0 / 1.58 GB, free: 10.54 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002077/1.27, allocations: 0.9008 MB / 1.581 GB, free: 9.641 MB / 1.248 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.002556/1.273, allocations: 1.788 MB / 1.583 GB, free: 7.781 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00377/1.277, allocations: 1.826 MB / 1.584 GB, free: 5.934 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.277, allocations: 0 / 1.584 GB, free: 5.934 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007135/1.277, allocations: 350.9 kB / 1.585 GB, free: 5.578 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004589/1.282, allocations: 1.251 MB / 1.586 GB, free: 4.359 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/1.304, allocations: 14.76 MB / 1.6 GB, free: 5.141 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/1.305, allocations: 1.537 MB / 1.602 GB, free: 3.566 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00177/1.307, allocations: 477.8 kB / 1.602 GB, free: 3.098 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009878/1.308, allocations: 0.7961 MB / 1.603 GB, free: 2.301 MB / 1.264 GB Notification: Performance of SimCode: time 8.72e-07/1.308, allocations: 0 / 1.603 GB, free: 2.301 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09419/1.402, allocations: 56.23 MB / 1.658 GB, free: 10.72 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.61, allocations: 11.91 kB / 1.658 GB, free: 10.71 MB / 1.326 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches