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.001334/0.001334, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001595/0.001595, allocations: 217.9 kB / 22.25 MB, free: 4.855 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.805 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.153/3.153, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",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.002114/0.002114, allocations: 73.7 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1737/0.5204, allocations: 130.7 MB / 1.491 GB, free: 10.92 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005191/0.5256, allocations: 4.345 MB / 1.495 GB, free: 6.559 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.5258, allocations: 7.938 kB / 1.495 GB, free: 6.551 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.5264, allocations: 182.8 kB / 1.495 GB, free: 6.371 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.5267, allocations: 83.44 kB / 1.496 GB, free: 6.289 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.5269, allocations: 67.84 kB / 1.496 GB, free: 6.223 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.5273, allocations: 282.9 kB / 1.496 GB, free: 5.945 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.5275, allocations: 91.42 kB / 1.496 GB, free: 5.855 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.5277, allocations: 107.6 kB / 1.496 GB, free: 5.75 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.5279, allocations: 127.5 kB / 1.496 GB, free: 5.625 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.5279, allocations: 15.98 kB / 1.496 GB, free: 5.609 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.689e-05/0.5279, allocations: 8 kB / 1.496 GB, free: 5.602 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.528, allocations: 31.86 kB / 1.496 GB, free: 5.57 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.528, allocations: 59.67 kB / 1.496 GB, free: 5.512 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.5282, allocations: 155.2 kB / 1.496 GB, free: 5.359 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.5282, allocations: 4 kB / 1.496 GB, free: 5.355 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5282, allocations: 0 / 1.496 GB, free: 5.355 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5283, allocations: 0 / 1.496 GB, free: 5.355 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.0004629/0.5287, allocations: 369.6 kB / 1.497 GB, free: 4.965 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5288, allocations: 12.03 kB / 1.497 GB, free: 4.953 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.5288, allocations: 50.73 kB / 1.497 GB, free: 4.895 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.5289, allocations: 20.8 kB / 1.497 GB, free: 4.875 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.5292, allocations: 194.7 kB / 1.497 GB, free: 4.66 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.5292, allocations: 16.12 kB / 1.497 GB, free: 4.645 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.5293, allocations: 12 kB / 1.497 GB, free: 4.633 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.5296, allocations: 208.4 kB / 1.497 GB, free: 4.383 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5296, allocations: 4 kB / 1.497 GB, free: 4.379 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.5296, allocations: 4 kB / 1.497 GB, free: 4.375 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.5296, allocations: 4 kB / 1.497 GB, free: 4.371 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.5297, allocations: 75.78 kB / 1.497 GB, free: 4.297 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.5309, allocations: 1.528 MB / 1.499 GB, free: 2.68 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.531, allocations: 177 kB / 1.499 GB, free: 2.496 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.531, allocations: 84.14 kB / 1.499 GB, free: 2.41 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.5311, allocations: 79.27 kB / 1.499 GB, free: 2.332 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.5311, allocations: 105.8 kB / 1.499 GB, free: 2.219 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5311, allocations: 0 / 1.499 GB, free: 2.219 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 8.697e-05/0.5312, allocations: 45.61 kB / 1.499 GB, free: 2.168 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.5313, allocations: 134.6 kB / 1.499 GB, free: 2.023 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.5315, allocations: 257.8 kB / 1.5 GB, free: 1.766 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.5316, allocations: 25.7 kB / 1.5 GB, free: 1.734 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5317, allocations: 139.9 kB / 1.5 GB, free: 1.594 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-06/0.5317, allocations: 8 kB / 1.5 GB, free: 1.586 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.5317, allocations: 25.67 kB / 1.5 GB, free: 1.555 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5319, allocations: 330.8 kB / 1.5 GB, free: 1.223 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.5319, allocations: 4 kB / 1.5 GB, free: 1.219 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.5319, allocations: 49.95 kB / 1.5 GB, free: 1.148 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.532, allocations: 65.91 kB / 1.5 GB, free: 1.062 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.532, allocations: 3.938 kB / 1.5 GB, free: 1.059 MB / 1.186 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001643/0.5322, allocations: 85.47 kB / 1.5 GB, free: 0.9688 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5322, allocations: 10.66 kB / 1.5 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.5322, allocations: 0 / 1.5 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5322, allocations: 4 kB / 1.5 GB, free: 0.957 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.5323, allocations: 8 kB / 1.5 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.597e-06/0.5323, allocations: 12.16 kB / 1.5 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.5324, allocations: 23.83 kB / 1.501 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.5324, allocations: 4 kB / 1.501 GB, free: 0.9102 MB / 1.186 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.000132/0.5325, allocations: 209 kB / 1.501 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.5326, allocations: 116.9 kB / 1.501 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.529e-05/0.5326, allocations: 125.7 kB / 1.501 GB, free: 452 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.687e-05/0.5327, allocations: 176.3 kB / 1.501 GB, free: 268 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.768e-05/0.5328, allocations: 184.2 kB / 1.501 GB, free: 76 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.223e-05/0.5329, allocations: 176.3 kB / 1.501 GB, free: 15.89 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.5332, allocations: 420.2 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-05/0.5332, allocations: 120.9 kB / 1.502 GB, free: 15.31 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.5333, allocations: 101 kB / 1.502 GB, free: 15.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.611e-05/0.5334, allocations: 180.2 kB / 1.502 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/0.5335, allocations: 184.2 kB / 1.502 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.291e-05/0.5335, allocations: 176.5 kB / 1.503 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.841e-05/0.5336, allocations: 180.2 kB / 1.503 GB, free: 14.47 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.5338, allocations: 335.6 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.5339, allocations: 120.9 kB / 1.503 GB, free: 13.99 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.534, allocations: 180.3 kB / 1.503 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.5341, allocations: 108.9 kB / 1.503 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.5342, allocations: 180.3 kB / 1.504 GB, free: 13.51 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.5342, allocations: 108.9 kB / 1.504 GB, free: 13.4 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001716/0.5344, allocations: 177.2 kB / 1.504 GB, free: 13.22 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5344, allocations: 0 / 1.504 GB, free: 13.22 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002753/0.5347, allocations: 24 kB / 1.504 GB, free: 13.2 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.0004614/0.5351, allocations: 0.8242 MB / 1.505 GB, free: 12.35 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 8.502e-05/0.5352, allocations: 15.94 kB / 1.505 GB, free: 12.33 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5352, allocations: 0 / 1.505 GB, free: 12.33 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.5352, allocations: 8.312 kB / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.5359, allocations: 0.5003 MB / 1.505 GB, free: 11.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.538, allocations: 2.053 MB / 1.507 GB, free: 9.648 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.5381, allocations: 100.1 kB / 1.507 GB, free: 9.535 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 7.315e-05/0.5382, allocations: 21.62 kB / 1.507 GB, free: 9.508 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.5383, allocations: 43.42 kB / 1.507 GB, free: 9.465 MB / 1.201 GB Notification: Performance of SimCode: time 9.82e-07/0.5383, allocations: 0 / 1.507 GB, free: 9.465 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.5734, allocations: 4.283 MB / 1.512 GB, free: 5.352 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.83, allocations: 6.516 kB / 1.512 GB, free: 5.348 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.375057728029788]