Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 217.8 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.725/2.725, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 64.7 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3688, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1904/0.5592, allocations: 151.6 MB / 1.432 GB, free: 3.477 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005777/0.565, allocations: 4.754 MB / 1.437 GB, free: 14.71 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.5654, allocations: 15.88 kB / 1.437 GB, free: 14.7 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.566, allocations: 166.8 kB / 1.437 GB, free: 14.53 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.5663, allocations: 95.42 kB / 1.437 GB, free: 14.44 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.5664, allocations: 71.86 kB / 1.437 GB, free: 14.37 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.5668, allocations: 282.9 kB / 1.437 GB, free: 14.09 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.567, allocations: 78.75 kB / 1.437 GB, free: 14.01 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.5672, allocations: 107.6 kB / 1.438 GB, free: 13.91 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.5674, allocations: 139.4 kB / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.5675, allocations: 16 kB / 1.438 GB, free: 13.75 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.5675, allocations: 8 kB / 1.438 GB, free: 13.75 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.5675, allocations: 31.86 kB / 1.438 GB, free: 13.71 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.5676, allocations: 71.56 kB / 1.438 GB, free: 13.64 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.5678, allocations: 163.2 kB / 1.438 GB, free: 13.48 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5678, allocations: 0 / 1.438 GB, free: 13.48 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5678, allocations: 0 / 1.438 GB, free: 13.48 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5678, allocations: 0 / 1.438 GB, free: 13.48 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004762/0.5683, allocations: 373.6 kB / 1.438 GB, free: 13.09 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5683, allocations: 8.031 kB / 1.438 GB, free: 13.08 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.001e-05/0.5684, allocations: 8.188 kB / 1.438 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.5684, allocations: 46.73 kB / 1.438 GB, free: 13.02 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.5685, allocations: 20.84 kB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.5688, allocations: 198.6 kB / 1.439 GB, free: 12.78 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.5689, allocations: 15.94 kB / 1.439 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.5689, allocations: 16 kB / 1.439 GB, free: 12.75 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.5692, allocations: 214 kB / 1.439 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5693, allocations: 0 / 1.439 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.5693, allocations: 11.98 kB / 1.439 GB, free: 12.48 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.5693, allocations: 4 kB / 1.439 GB, free: 12.48 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.5695, allocations: 71.78 kB / 1.439 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.5707, allocations: 1.544 MB / 1.44 GB, free: 10.77 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.5708, allocations: 177.1 kB / 1.441 GB, free: 10.59 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.5708, allocations: 80.14 kB / 1.441 GB, free: 10.51 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.5709, allocations: 79.28 kB / 1.441 GB, free: 10.43 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.5709, allocations: 109.8 kB / 1.441 GB, free: 10.31 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.5709, allocations: 0 / 1.441 GB, free: 10.31 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.571, allocations: 45.55 kB / 1.441 GB, free: 10.26 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.5711, allocations: 130.6 kB / 1.441 GB, free: 10.12 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.5714, allocations: 253.8 kB / 1.441 GB, free: 9.863 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.5714, allocations: 25.7 kB / 1.441 GB, free: 9.832 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.5716, allocations: 151.9 kB / 1.441 GB, free: 9.68 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.5716, allocations: 0 / 1.441 GB, free: 9.68 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.5716, allocations: 21.67 kB / 1.441 GB, free: 9.652 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.5718, allocations: 330.8 kB / 1.442 GB, free: 9.32 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.5718, allocations: 4 kB / 1.442 GB, free: 9.316 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.237e-05/0.5719, allocations: 54 kB / 1.442 GB, free: 9.242 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.08e-05/0.5719, allocations: 65.83 kB / 1.442 GB, free: 9.156 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5719, allocations: 4 kB / 1.442 GB, free: 9.152 MB / 1.139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001841/0.5721, allocations: 85.47 kB / 1.442 GB, free: 9.062 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5721, allocations: 4 kB / 1.442 GB, free: 9.059 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5722, allocations: 4 kB / 1.442 GB, free: 9.055 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5722, allocations: 0 / 1.442 GB, free: 9.055 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.5722, allocations: 23.92 kB / 1.442 GB, free: 9.031 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5723, allocations: 4 kB / 1.442 GB, free: 9.027 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.5723, allocations: 16.09 kB / 1.442 GB, free: 9.012 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.5723, allocations: 8 kB / 1.442 GB, free: 9.004 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0001516/0.5725, allocations: 205.1 kB / 1.442 GB, free: 8.793 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.5726, allocations: 120.8 kB / 1.442 GB, free: 8.668 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.5726, allocations: 117.8 kB / 1.442 GB, free: 8.543 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001443/0.5728, allocations: 180.3 kB / 1.443 GB, free: 8.359 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.762e-05/0.5729, allocations: 188.2 kB / 1.443 GB, free: 8.168 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.922e-05/0.573, allocations: 176.3 kB / 1.443 GB, free: 7.988 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.5734, allocations: 436 kB / 1.443 GB, free: 7.512 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.151e-05/0.5734, allocations: 105 kB / 1.444 GB, free: 7.402 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.712e-05/0.5735, allocations: 101 kB / 1.444 GB, free: 7.297 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.438e-05/0.5736, allocations: 180.2 kB / 1.444 GB, free: 7.113 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.061e-05/0.5736, allocations: 184.3 kB / 1.444 GB, free: 6.926 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.441e-05/0.5737, allocations: 184.2 kB / 1.444 GB, free: 6.738 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.006e-05/0.5738, allocations: 180.5 kB / 1.444 GB, free: 6.555 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.5741, allocations: 331.6 kB / 1.445 GB, free: 6.207 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.5742, allocations: 120.9 kB / 1.445 GB, free: 6.082 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.5744, allocations: 184.2 kB / 1.445 GB, free: 5.895 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5745, allocations: 105 kB / 1.445 GB, free: 5.785 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.5746, allocations: 184.2 kB / 1.445 GB, free: 5.598 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/0.5746, allocations: 108.9 kB / 1.445 GB, free: 5.484 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001661/0.5748, allocations: 177.2 kB / 1.445 GB, free: 5.309 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5748, allocations: 0 / 1.445 GB, free: 5.309 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003/0.5751, allocations: 24 kB / 1.445 GB, free: 5.285 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0004916/0.5756, allocations: 0.8241 MB / 1.446 GB, free: 4.434 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.827e-05/0.5757, allocations: 28.25 kB / 1.446 GB, free: 4.406 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5757, allocations: 0 / 1.446 GB, free: 4.406 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/0.5757, allocations: 0 / 1.446 GB, free: 4.406 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.5764, allocations: 0.5195 MB / 1.447 GB, free: 3.887 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.5786, allocations: 2.042 MB / 1.449 GB, free: 1.73 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.5791, allocations: 0.7164 MB / 1.45 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.417e-05/0.5792, allocations: 17.64 kB / 1.45 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.5792, allocations: 47.42 kB / 1.45 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/0.5792, allocations: 0 / 1.45 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.6041, allocations: 3.738 MB / 1.453 GB, free: 13.35 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.17, allocations: 12.58 kB / 1.453 GB, free: 13.35 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.93799659103388]