Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001397/0.001397, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.00194/0.00194, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.009/3.009, allocations: 0.5003 GB / 0.8026 GB, free: 6.902 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_latest_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.00199/0.00199, allocations: 75.89 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8927/0.8947, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1931/1.088, allocations: 151.4 MB / 1.488 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005818/1.094, allocations: 4.698 MB / 1.493 GB, free: 10.74 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/1.094, allocations: 18.84 kB / 1.493 GB, free: 10.73 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005726/1.095, allocations: 165.5 kB / 1.493 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003183/1.095, allocations: 90.5 kB / 1.493 GB, free: 10.51 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/1.095, allocations: 60.52 kB / 1.493 GB, free: 10.46 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004049/1.095, allocations: 290.2 kB / 1.493 GB, free: 10.29 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/1.096, allocations: 81.08 kB / 1.493 GB, free: 10.24 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/1.096, allocations: 106.2 kB / 1.493 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/1.096, allocations: 137.2 kB / 1.493 GB, free: 10.1 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/1.096, allocations: 10.69 kB / 1.493 GB, free: 10.1 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.461e-05/1.096, allocations: 10.41 kB / 1.494 GB, free: 10.1 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/1.096, allocations: 33.36 kB / 1.494 GB, free: 10.07 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.302e-05/1.096, allocations: 76.77 kB / 1.494 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/1.096, allocations: 162 kB / 1.494 GB, free: 9.906 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.096, allocations: 1.281 kB / 1.494 GB, free: 9.906 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.513e-06/1.096, allocations: 0 / 1.494 GB, free: 9.906 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.096, allocations: 0 / 1.494 GB, free: 9.906 MB / 1.17 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.0004856/1.097, allocations: 449.7 kB / 1.494 GB, free: 9.461 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.097, allocations: 13.83 kB / 1.494 GB, free: 9.457 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.792e-05/1.097, allocations: 8.094 kB / 1.494 GB, free: 9.453 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/1.097, allocations: 43.09 kB / 1.494 GB, free: 9.406 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/1.097, allocations: 23.27 kB / 1.494 GB, free: 9.395 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/1.097, allocations: 249.2 kB / 1.495 GB, free: 9.141 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/1.097, allocations: 21.42 kB / 1.495 GB, free: 9.125 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/1.097, allocations: 14.66 kB / 1.495 GB, free: 9.121 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/1.098, allocations: 208 kB / 1.495 GB, free: 8.926 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.098, allocations: 0.9375 kB / 1.495 GB, free: 8.926 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/1.098, allocations: 7.156 kB / 1.495 GB, free: 8.922 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.098, allocations: 4.219 kB / 1.495 GB, free: 8.922 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/1.098, allocations: 79.38 kB / 1.495 GB, free: 8.879 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/1.099, allocations: 1.601 MB / 1.496 GB, free: 7.266 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/1.099, allocations: 166 kB / 1.497 GB, free: 7.094 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/1.099, allocations: 84.98 kB / 1.497 GB, free: 7.008 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/1.099, allocations: 75.28 kB / 1.497 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.396e-05/1.099, allocations: 110.8 kB / 1.497 GB, free: 6.816 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.704e-06/1.099, allocations: 1.125 kB / 1.497 GB, free: 6.816 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 9.004e-05/1.099, allocations: 46.28 kB / 1.497 GB, free: 6.773 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/1.099, allocations: 130.7 kB / 1.497 GB, free: 6.633 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/1.1, allocations: 249.4 kB / 1.497 GB, free: 6.461 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/1.1, allocations: 25.7 kB / 1.497 GB, free: 6.43 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.1, allocations: 146.2 kB / 1.497 GB, free: 6.293 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/1.1, allocations: 0 / 1.497 GB, free: 6.293 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/1.1, allocations: 20.06 kB / 1.497 GB, free: 6.273 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.1, allocations: 326.1 kB / 1.498 GB, free: 5.949 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/1.1, allocations: 8.297 kB / 1.498 GB, free: 5.945 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/1.1, allocations: 53.27 kB / 1.498 GB, free: 5.879 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/1.1, allocations: 67.86 kB / 1.498 GB, free: 5.801 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.1, allocations: 5.031 kB / 1.498 GB, free: 5.797 MB / 1.17 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001782/1.1, allocations: 90.05 kB / 1.498 GB, free: 5.734 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.1, allocations: 6.594 kB / 1.498 GB, free: 5.734 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/1.1, allocations: 5.094 kB / 1.498 GB, free: 5.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.1, allocations: 2.562 kB / 1.498 GB, free: 5.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/1.101, allocations: 14.41 kB / 1.498 GB, free: 5.727 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.101, allocations: 2.406 kB / 1.498 GB, free: 5.727 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.817e-05/1.101, allocations: 16.81 kB / 1.498 GB, free: 5.715 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/1.101, allocations: 4.469 kB / 1.498 GB, free: 5.715 MB / 1.17 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.0001443/1.101, allocations: 211.3 kB / 1.498 GB, free: 5.504 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/1.101, allocations: 121.6 kB / 1.498 GB, free: 5.387 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/1.101, allocations: 119.3 kB / 1.498 GB, free: 5.266 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.041e-05/1.101, allocations: 185.5 kB / 1.499 GB, free: 5.078 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.569e-05/1.101, allocations: 181.4 kB / 1.499 GB, free: 4.895 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.345e-05/1.101, allocations: 177.4 kB / 1.499 GB, free: 4.715 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/1.102, allocations: 457.5 kB / 1.499 GB, free: 4.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-05/1.102, allocations: 102.2 kB / 1.499 GB, free: 4.125 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/1.102, allocations: 121.7 kB / 1.5 GB, free: 4 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.041e-05/1.102, allocations: 177.3 kB / 1.5 GB, free: 3.82 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/1.102, allocations: 181.1 kB / 1.5 GB, free: 3.637 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.041e-05/1.102, allocations: 177.2 kB / 1.5 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-05/1.102, allocations: 177.5 kB / 1.5 GB, free: 3.277 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/1.102, allocations: 334.8 kB / 1.501 GB, free: 2.938 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/1.102, allocations: 195 kB / 1.501 GB, free: 2.727 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/1.102, allocations: 189.6 kB / 1.501 GB, free: 2.535 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.102, allocations: 101 kB / 1.501 GB, free: 2.43 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/1.103, allocations: 181.7 kB / 1.501 GB, free: 2.246 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/1.103, allocations: 106.1 kB / 1.501 GB, free: 2.137 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001801/1.103, allocations: 177.2 kB / 1.501 GB, free: 2.016 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.103, allocations: 0 / 1.501 GB, free: 2.016 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002587/1.103, allocations: 23.06 kB / 1.502 GB, free: 2.012 MB / 1.17 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.000488/1.104, allocations: 0.8281 MB / 1.502 GB, free: 1.184 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.587e-05/1.104, allocations: 24.08 kB / 1.502 GB, free: 1.172 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.104, allocations: 0 / 1.502 GB, free: 1.172 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/1.104, allocations: 0 / 1.502 GB, free: 1.172 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007175/1.104, allocations: 0.5032 MB / 1.503 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/1.107, allocations: 2.064 MB / 1.505 GB, free: 14.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/1.107, allocations: 0.7124 MB / 1.506 GB, free: 14.1 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.191e-05/1.107, allocations: 21.55 kB / 1.506 GB, free: 14.08 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/1.107, allocations: 39.42 kB / 1.506 GB, free: 14.04 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/1.107, allocations: 4 kB / 1.506 GB, free: 14.04 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/1.129, allocations: 3.638 MB / 1.509 GB, free: 10.55 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/9.702, allocations: 0.5938 kB / 1.509 GB, free: 10.55 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.152682705025654]