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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007921/0.007921, allocations: 101.7 kB / 15.73 MB, free: 5.609 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.001945/0.001946, allocations: 193.5 kB / 16.67 MB, free: 5.527 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.663/2.663, allocations: 469.4 MB / 0.7422 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 60.12 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6853, allocations: 159.1 MB / 1.22 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.2943/0.9796, allocations: 312.7 MB / 1.525 GB, free: 8.441 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03562/1.015, allocations: 29.36 MB / 1.554 GB, free: 11 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/1.018, allocations: 79.62 kB / 1.554 GB, free: 10.92 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.006435/1.025, allocations: 2.43 MB / 1.556 GB, free: 8.48 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.008289/1.033, allocations: 3.302 MB / 1.559 GB, free: 5.164 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.006463/1.04, allocations: 2.779 MB / 1.562 GB, free: 2.391 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.6449/1.684, allocations: 7.539 MB / 1.57 GB, free: 30.36 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002969/1.687, allocations: 2.093 MB / 1.572 GB, free: 30.14 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/1.692, allocations: 2.448 MB / 1.574 GB, free: 30.14 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/1.695, allocations: 1.535 MB / 1.575 GB, free: 30.13 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004645/1.696, allocations: 255.1 kB / 1.576 GB, free: 30.13 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00658/1.702, allocations: 3.622 MB / 1.579 GB, free: 30.13 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/1.704, allocations: 0.829 MB / 1.58 GB, free: 30.13 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001976/1.706, allocations: 1.39 MB / 1.581 GB, free: 30.13 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.007955/1.713, allocations: 5.456 MB / 1.587 GB, free: 29.85 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.714, allocations: 0 / 1.587 GB, free: 29.85 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.854e-06/1.714, allocations: 1.203 kB / 1.587 GB, free: 29.85 MB / 1.279 GB Notification: Performance of Transformations before backend: time 5.176e-05/1.714, allocations: 1.094 kB / 1.587 GB, free: 29.85 MB / 1.279 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.004776/1.718, allocations: 3.017 MB / 1.59 GB, free: 28.31 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.718, allocations: 9.562 kB / 1.59 GB, free: 28.31 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/1.719, allocations: 199.7 kB / 1.59 GB, free: 28.27 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006105/1.725, allocations: 0.9465 MB / 1.591 GB, free: 28.12 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009517/1.734, allocations: 5.762 MB / 1.596 GB, free: 27.56 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/1.734, allocations: 100.9 kB / 1.597 GB, free: 27.55 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/1.735, allocations: 133.2 kB / 1.597 GB, free: 27.55 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/1.738, allocations: 1.586 MB / 1.598 GB, free: 27.36 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/1.738, allocations: 6.031 kB / 1.598 GB, free: 27.36 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/1.738, allocations: 52.72 kB / 1.598 GB, free: 27.36 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/1.738, allocations: 52.08 kB / 1.598 GB, free: 27.36 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/1.741, allocations: 1.325 MB / 1.6 GB, free: 27.34 MB / 1.279 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.00951/1.751, allocations: 7.618 MB / 1.607 GB, free: 23.62 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/1.753, allocations: 0.6818 MB / 1.608 GB, free: 23.49 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006134/1.753, allocations: 255.3 kB / 1.608 GB, free: 23.48 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/1.753, allocations: 190.9 kB / 1.608 GB, free: 23.29 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/1.753, allocations: 42.67 kB / 1.608 GB, free: 23.25 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 2.625e-06/1.753, allocations: 0 / 1.608 GB, free: 23.25 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.002787/1.756, allocations: 1.055 MB / 1.609 GB, free: 22.9 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/1.756, allocations: 53.53 kB / 1.609 GB, free: 22.84 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/1.76, allocations: 2.36 MB / 1.612 GB, free: 22.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/1.76, allocations: 35.48 kB / 1.612 GB, free: 22.57 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006693/1.761, allocations: 0.9792 MB / 1.613 GB, free: 22.29 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/1.761, allocations: 135 kB / 1.613 GB, free: 22.21 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003458/1.761, allocations: 251.5 kB / 1.613 GB, free: 22.18 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.716e-05/1.761, allocations: 350.9 kB / 1.613 GB, free: 21.88 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/1.762, allocations: 0.5202 MB / 1.614 GB, free: 21.86 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.764, allocations: 0.7897 MB / 1.615 GB, free: 21.55 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/1.765, allocations: 1.121 MB / 1.616 GB, free: 21.29 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.766, allocations: 3.188 kB / 1.616 GB, free: 21.29 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003133/1.769, allocations: 1.636 MB / 1.617 GB, free: 21.01 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.769, allocations: 7.531 kB / 1.617 GB, free: 21.01 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.769, allocations: 9.531 kB / 1.617 GB, free: 21.01 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/1.769, allocations: 39.95 kB / 1.617 GB, free: 21 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.77, allocations: 240.9 kB / 1.618 GB, free: 21 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007748/1.771, allocations: 1.57 MB / 1.619 GB, free: 19.52 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/1.773, allocations: 250.2 kB / 1.619 GB, free: 19.42 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/1.773, allocations: 39.66 kB / 1.619 GB, free: 19.42 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001782/1.775, allocations: 1.017 MB / 1.62 GB, free: 19.34 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001186/1.776, allocations: 0.7737 MB / 1.621 GB, free: 19.03 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001734/1.778, allocations: 1.104 MB / 1.622 GB, free: 18.74 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.209e-06/1.778, allocations: 2.469 kB / 1.622 GB, free: 18.74 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.00308/1.781, allocations: 1.627 MB / 1.624 GB, free: 18.44 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.781, allocations: 10.75 kB / 1.624 GB, free: 18.44 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.781, allocations: 5.062 kB / 1.624 GB, free: 18.44 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.578e-05/1.781, allocations: 33.69 kB / 1.624 GB, free: 18.43 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/1.782, allocations: 237.7 kB / 1.624 GB, free: 18.43 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007272/1.783, allocations: 1.564 MB / 1.626 GB, free: 16.94 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/1.785, allocations: 175 kB / 1.626 GB, free: 16.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/1.785, allocations: 43.91 kB / 1.626 GB, free: 16.89 MB / 1.279 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.0002473/1.785, allocations: 234.8 kB / 1.626 GB, free: 16.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/1.785, allocations: 213.7 kB / 1.626 GB, free: 16.59 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/1.787, allocations: 0.7608 MB / 1.627 GB, free: 16.4 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/1.787, allocations: 7.922 kB / 1.627 GB, free: 16.4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.787, allocations: 3.938 kB / 1.627 GB, free: 16.39 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.787, allocations: 1.781 kB / 1.627 GB, free: 16.39 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/1.791, allocations: 2.162 MB / 1.629 GB, free: 15.88 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.791, allocations: 2.156 kB / 1.629 GB, free: 15.88 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/1.791, allocations: 99.38 kB / 1.629 GB, free: 15.87 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.158e-05/1.791, allocations: 31.97 kB / 1.629 GB, free: 15.86 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/1.791, allocations: 15.06 kB / 1.629 GB, free: 15.86 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006996/1.792, allocations: 1.551 MB / 1.631 GB, free: 14.36 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.792, allocations: 5.156 kB / 1.631 GB, free: 14.36 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/1.794, allocations: 0.8984 MB / 1.632 GB, free: 13.93 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/1.794, allocations: 367.2 kB / 1.632 GB, free: 13.71 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/1.794, allocations: 12.62 kB / 1.632 GB, free: 13.71 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.796, allocations: 72.36 kB / 1.632 GB, free: 13.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/1.796, allocations: 29.61 kB / 1.632 GB, free: 13.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/1.796, allocations: 19.02 kB / 1.632 GB, free: 13.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002403/1.798, allocations: 1.637 MB / 1.634 GB, free: 13.55 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.5e-07/1.798, allocations: 0 / 1.634 GB, free: 13.55 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002644/1.801, allocations: 0.9023 MB / 1.635 GB, free: 13.45 MB / 1.279 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.002476/1.803, allocations: 1.797 MB / 1.636 GB, free: 12.43 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003657/1.807, allocations: 1.808 MB / 1.638 GB, free: 12.18 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.807, allocations: 0 / 1.638 GB, free: 12.18 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006768/1.808, allocations: 363.3 kB / 1.638 GB, free: 12.06 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/1.813, allocations: 1.236 MB / 1.64 GB, free: 11.83 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.834, allocations: 14.77 MB / 1.654 GB, free: 8.145 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/1.835, allocations: 1.53 MB / 1.656 GB, free: 7.398 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00195/1.837, allocations: 472.9 kB / 1.656 GB, free: 7.262 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009625/1.838, allocations: 0.7993 MB / 1.657 GB, free: 7.254 MB / 1.279 GB Notification: Performance of SimCode: time 8.61e-07/1.838, allocations: 4 kB / 1.657 GB, free: 7.25 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09024/1.928, allocations: 56.23 MB / 1.712 GB, free: 5.336 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/15.38, allocations: 6.469 kB / 1.712 GB, free: 5.332 MB / 1.311 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