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.007353/0.007353, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001608/0.001608, allocations: 183.8 kB / 16.67 MB, free: 5.977 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3188, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9694/1.288, allocations: 312.7 MB / 1.513 GB, free: 14.02 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03424/1.322, allocations: 29.37 MB / 1.541 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003885/1.326, allocations: 83.56 kB / 1.541 GB, free: 496 kB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006486/1.333, allocations: 2.389 MB / 1.544 GB, free: 14.09 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008594/1.342, allocations: 3.168 MB / 1.547 GB, free: 10.91 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006744/1.348, allocations: 2.751 MB / 1.55 GB, free: 8.164 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01144/1.36, allocations: 7.562 MB / 1.557 GB, free: 0.5938 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/1.364, allocations: 2.075 MB / 1.559 GB, free: 14.48 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005821/1.369, allocations: 2.422 MB / 1.561 GB, free: 12.05 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/1.373, allocations: 1.526 MB / 1.563 GB, free: 10.52 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0007954/1.374, allocations: 256 kB / 1.563 GB, free: 10.27 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007637/1.381, allocations: 3.613 MB / 1.567 GB, free: 6.652 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/1.383, allocations: 0.8219 MB / 1.567 GB, free: 5.828 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002859/1.386, allocations: 1.392 MB / 1.569 GB, free: 4.43 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.009463/1.395, allocations: 5.43 MB / 1.574 GB, free: 14.98 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.395, allocations: 0 / 1.574 GB, free: 14.98 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.507e-06/1.395, allocations: 0 / 1.574 GB, free: 14.98 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001401/1.395, allocations: 3.938 kB / 1.574 GB, free: 14.98 MB / 1.264 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.007376/1.403, allocations: 2.939 MB / 1.577 GB, free: 11.97 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.403, allocations: 12.62 kB / 1.577 GB, free: 11.96 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004522/1.403, allocations: 190.3 kB / 1.577 GB, free: 11.76 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005977/1.409, allocations: 0.9336 MB / 1.578 GB, free: 10.82 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/1.42, allocations: 5.743 MB / 1.584 GB, free: 5.027 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/1.421, allocations: 102.6 kB / 1.584 GB, free: 4.926 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/1.421, allocations: 128 kB / 1.584 GB, free: 4.801 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/1.425, allocations: 1.59 MB / 1.585 GB, free: 3.145 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.425, allocations: 3.938 kB / 1.585 GB, free: 3.141 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/1.425, allocations: 52 kB / 1.585 GB, free: 3.09 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/1.425, allocations: 58.44 kB / 1.585 GB, free: 3.031 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/1.429, allocations: 1.325 MB / 1.587 GB, free: 1.699 MB / 1.264 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.01133/1.44, allocations: 7.605 MB / 1.594 GB, free: 9.562 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/1.442, allocations: 0.6667 MB / 1.595 GB, free: 8.871 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/1.443, allocations: 256.7 kB / 1.595 GB, free: 8.617 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/1.443, allocations: 194.2 kB / 1.595 GB, free: 8.391 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/1.443, allocations: 35.72 kB / 1.595 GB, free: 8.348 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 3.026e-06/1.443, allocations: 3.938 kB / 1.595 GB, free: 8.344 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.002835/1.446, allocations: 1.036 MB / 1.596 GB, free: 7.258 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.446, allocations: 59.34 kB / 1.596 GB, free: 7.188 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/1.45, allocations: 2.36 MB / 1.599 GB, free: 4.809 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.668e-05/1.45, allocations: 41.69 kB / 1.599 GB, free: 4.762 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008668/1.451, allocations: 0.969 MB / 1.6 GB, free: 3.781 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/1.451, allocations: 126.2 kB / 1.6 GB, free: 3.656 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/1.451, allocations: 250.3 kB / 1.6 GB, free: 3.402 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.452, allocations: 357.9 kB / 1.6 GB, free: 3.047 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.453, allocations: 0.5165 MB / 1.601 GB, free: 2.527 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/1.454, allocations: 0.7907 MB / 1.602 GB, free: 1.621 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/1.456, allocations: 1.124 MB / 1.603 GB, free: 408 kB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.456, allocations: 4 kB / 1.603 GB, free: 404 kB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003372/1.46, allocations: 1.625 MB / 1.604 GB, free: 14.74 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.46, allocations: 13.34 kB / 1.604 GB, free: 14.73 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/1.46, allocations: 4 kB / 1.604 GB, free: 14.73 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/1.46, allocations: 41.22 kB / 1.604 GB, free: 14.68 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/1.461, allocations: 239.6 kB / 1.605 GB, free: 14.45 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/1.462, allocations: 1.572 MB / 1.606 GB, free: 12.74 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.464, allocations: 246.1 kB / 1.606 GB, free: 12.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.464, allocations: 43.98 kB / 1.606 GB, free: 12.45 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001906/1.466, allocations: 1.01 MB / 1.607 GB, free: 11.44 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001289/1.467, allocations: 0.7793 MB / 1.608 GB, free: 10.55 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001865/1.469, allocations: 1.105 MB / 1.609 GB, free: 9.344 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.207e-06/1.469, allocations: 4 kB / 1.609 GB, free: 9.34 MB / 1.295 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003273/1.473, allocations: 1.603 MB / 1.611 GB, free: 7.703 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.473, allocations: 11.98 kB / 1.611 GB, free: 7.691 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.473, allocations: 8.125 kB / 1.611 GB, free: 7.684 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.429e-05/1.473, allocations: 32.86 kB / 1.611 GB, free: 7.648 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.474, allocations: 239.8 kB / 1.611 GB, free: 7.414 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/1.475, allocations: 1.564 MB / 1.613 GB, free: 5.711 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.477, allocations: 159.4 kB / 1.613 GB, free: 5.555 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.575e-05/1.477, allocations: 43.98 kB / 1.613 GB, free: 5.512 MB / 1.295 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.0002881/1.477, allocations: 229.9 kB / 1.613 GB, free: 5.281 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/1.477, allocations: 213.2 kB / 1.613 GB, free: 5.07 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/1.479, allocations: 0.7601 MB / 1.614 GB, free: 4.273 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.479, allocations: 4 kB / 1.614 GB, free: 4.27 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.479, allocations: 0 / 1.614 GB, free: 4.27 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.479, allocations: 3.984 kB / 1.614 GB, free: 4.266 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004235/1.484, allocations: 2.16 MB / 1.616 GB, free: 2.004 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.484, allocations: 4 kB / 1.616 GB, free: 2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/1.484, allocations: 95.86 kB / 1.616 GB, free: 1.906 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.15e-05/1.484, allocations: 29.06 kB / 1.616 GB, free: 1.875 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/1.484, allocations: 15.94 kB / 1.616 GB, free: 1.859 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/1.486, allocations: 1.562 MB / 1.618 GB, free: 164 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.486, allocations: 0 / 1.618 GB, free: 164 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/1.487, allocations: 0.8927 MB / 1.619 GB, free: 15.21 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/1.488, allocations: 354.3 kB / 1.619 GB, free: 14.84 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/1.488, allocations: 8 kB / 1.619 GB, free: 14.83 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.49, allocations: 71.92 kB / 1.619 GB, free: 14.76 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/1.49, allocations: 27.8 kB / 1.619 GB, free: 14.73 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/1.49, allocations: 23.97 kB / 1.619 GB, free: 14.71 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002894/1.493, allocations: 1.639 MB / 1.621 GB, free: 13.06 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.11e-07/1.493, allocations: 0 / 1.621 GB, free: 13.06 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002757/1.495, allocations: 0.8891 MB / 1.622 GB, free: 12.17 MB / 1.311 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.002863/1.498, allocations: 1.783 MB / 1.623 GB, free: 10.31 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003886/1.502, allocations: 1.807 MB / 1.625 GB, free: 8.48 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.502, allocations: 4.062 kB / 1.625 GB, free: 8.477 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0007178/1.503, allocations: 355 kB / 1.625 GB, free: 8.117 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005308/1.508, allocations: 1.242 MB / 1.627 GB, free: 6.906 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.534, allocations: 14.69 MB / 1.641 GB, free: 7.762 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/1.535, allocations: 1.545 MB / 1.642 GB, free: 6.184 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002068/1.537, allocations: 473.8 kB / 1.643 GB, free: 5.719 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.538, allocations: 0.8 MB / 1.644 GB, free: 4.918 MB / 1.326 GB Notification: Performance of SimCode: time 8.22e-07/1.538, allocations: 0 / 1.644 GB, free: 4.918 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.644, allocations: 57.14 MB / 1.7 GB, free: 12.36 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/15.06, allocations: 6.094 kB / 1.7 GB, free: 12.36 MB / 1.389 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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