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.001322/0.001322, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001401/0.001401, allocations: 218.3 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.194/3.194, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 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.001947/0.001947, allocations: 71.72 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3666, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1818/0.5485, allocations: 151.6 MB / 1.493 GB, free: 8.312 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005633/0.5541, allocations: 4.742 MB / 1.498 GB, free: 3.555 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.5545, allocations: 15.88 kB / 1.498 GB, free: 3.539 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.5552, allocations: 170.9 kB / 1.498 GB, free: 3.371 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.5555, allocations: 83.44 kB / 1.498 GB, free: 3.289 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.5557, allocations: 71.78 kB / 1.498 GB, free: 3.219 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.5561, allocations: 294.6 kB / 1.499 GB, free: 2.93 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.5563, allocations: 83.44 kB / 1.499 GB, free: 2.848 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.5565, allocations: 103.6 kB / 1.499 GB, free: 2.746 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.5567, allocations: 135.5 kB / 1.499 GB, free: 2.613 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.5567, allocations: 16 kB / 1.499 GB, free: 2.598 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.5567, allocations: 8 kB / 1.499 GB, free: 2.59 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.5568, allocations: 35.86 kB / 1.499 GB, free: 2.555 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.5569, allocations: 75.55 kB / 1.499 GB, free: 2.48 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.5571, allocations: 159.2 kB / 1.499 GB, free: 2.324 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5571, allocations: 0 / 1.499 GB, free: 2.324 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5571, allocations: 0 / 1.499 GB, free: 2.324 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.5571, allocations: 0 / 1.499 GB, free: 2.324 MB / 1.186 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.0004568/0.5575, allocations: 377.4 kB / 1.5 GB, free: 1.926 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5576, allocations: 8.031 kB / 1.5 GB, free: 1.918 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.777e-05/0.5576, allocations: 8.188 kB / 1.5 GB, free: 1.91 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.5577, allocations: 46.73 kB / 1.5 GB, free: 1.855 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.5577, allocations: 20.84 kB / 1.5 GB, free: 1.836 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.5581, allocations: 193.5 kB / 1.5 GB, free: 1.625 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.5581, allocations: 15.94 kB / 1.5 GB, free: 1.609 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.5581, allocations: 19.94 kB / 1.5 GB, free: 1.59 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.5585, allocations: 212.7 kB / 1.5 GB, free: 1.336 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5585, allocations: 0 / 1.5 GB, free: 1.336 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.5585, allocations: 11.94 kB / 1.5 GB, free: 1.324 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5585, allocations: 4 kB / 1.5 GB, free: 1.32 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.5586, allocations: 71.78 kB / 1.5 GB, free: 1.25 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.5599, allocations: 1.548 MB / 1.502 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.56, allocations: 169.1 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.56, allocations: 80.14 kB / 1.502 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.5601, allocations: 79.28 kB / 1.502 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.5601, allocations: 109.8 kB / 1.502 GB, free: 15.16 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5601, allocations: 3.938 kB / 1.502 GB, free: 15.15 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 9.226e-05/0.5602, allocations: 49.55 kB / 1.502 GB, free: 15.1 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.5603, allocations: 126.7 kB / 1.502 GB, free: 14.96 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.5606, allocations: 245.9 kB / 1.502 GB, free: 14.71 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.5606, allocations: 25.7 kB / 1.503 GB, free: 14.68 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.5607, allocations: 151.9 kB / 1.503 GB, free: 14.52 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.5607, allocations: 0 / 1.503 GB, free: 14.52 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.5608, allocations: 21.7 kB / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5609, allocations: 334.8 kB / 1.503 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.5609, allocations: 8 kB / 1.503 GB, free: 14.15 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.953e-05/0.561, allocations: 49.95 kB / 1.503 GB, free: 14.08 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.598e-05/0.5611, allocations: 65.88 kB / 1.503 GB, free: 14 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5611, allocations: 4 kB / 1.503 GB, free: 13.99 MB / 1.201 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000161/0.5612, allocations: 89.41 kB / 1.503 GB, free: 13.9 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5612, allocations: 4 kB / 1.503 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.5613, allocations: 4 kB / 1.503 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5613, allocations: 0 / 1.503 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.5613, allocations: 19.92 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5614, allocations: 4 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.5614, allocations: 20.06 kB / 1.503 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.5614, allocations: 8 kB / 1.503 GB, free: 13.84 MB / 1.201 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.0001329/0.5616, allocations: 197.1 kB / 1.503 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.5e-05/0.5617, allocations: 128.8 kB / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.5617, allocations: 117.8 kB / 1.504 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.938e-05/0.5618, allocations: 180.2 kB / 1.504 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.163e-05/0.5619, allocations: 184.3 kB / 1.504 GB, free: 13.01 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-05/0.562, allocations: 180.2 kB / 1.504 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.5623, allocations: 428.2 kB / 1.505 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-05/0.5624, allocations: 113 kB / 1.505 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.5624, allocations: 108.9 kB / 1.505 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-05/0.5625, allocations: 176.3 kB / 1.505 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.29e-05/0.5626, allocations: 180.3 kB / 1.505 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.787e-05/0.5627, allocations: 188.1 kB / 1.505 GB, free: 11.57 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001575/0.5628, allocations: 176.3 kB / 1.506 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.563, allocations: 331.6 kB / 1.506 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5631, allocations: 132.8 kB / 1.506 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.5632, allocations: 176.3 kB / 1.506 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5633, allocations: 101 kB / 1.506 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.5634, allocations: 184.2 kB / 1.506 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.5634, allocations: 101 kB / 1.506 GB, free: 10.33 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001746/0.5636, allocations: 185.2 kB / 1.507 GB, free: 10.16 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5636, allocations: 4 kB / 1.507 GB, free: 10.15 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002604/0.5639, allocations: 20 kB / 1.507 GB, free: 10.13 MB / 1.201 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.0005452/0.5644, allocations: 0.8203 MB / 1.507 GB, free: 9.285 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.5645, allocations: 28.17 kB / 1.508 GB, free: 9.258 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5645, allocations: 0 / 1.508 GB, free: 9.258 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.5645, allocations: 0 / 1.508 GB, free: 9.258 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.5652, allocations: 0.4997 MB / 1.508 GB, free: 8.758 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.5674, allocations: 2.045 MB / 1.51 GB, free: 6.594 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.5677, allocations: 0.7203 MB / 1.511 GB, free: 5.848 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 6.348e-05/0.5678, allocations: 17.64 kB / 1.511 GB, free: 5.832 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.5678, allocations: 43.42 kB / 1.511 GB, free: 5.789 MB / 1.201 GB Notification: Performance of SimCode: time 4.01e-07/0.5678, allocations: 0 / 1.511 GB, free: 5.789 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.5916, allocations: 3.742 MB / 1.514 GB, free: 2.207 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.19, allocations: 5.938 kB / 1.514 GB, free: 2.203 MB / 1.201 GB " [Timeout remaining time 288] (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: 18.867594668990932]