Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001671/0.001671, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001984/0.001984, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.501/1.501, 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.062/3.062, allocations: 0.5003 GB / 0.8026 GB, free: 6.816 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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.002017/0.002017, allocations: 71.89 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9376/0.9396, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.245/1.185, allocations: 177.6 MB / 1.514 GB, free: 6.652 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01139/1.196, allocations: 9.58 MB / 1.523 GB, free: 13.04 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/1.196, allocations: 11.94 kB / 1.523 GB, free: 13.03 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007651/1.197, allocations: 190.7 kB / 1.523 GB, free: 12.84 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/1.198, allocations: 95.31 kB / 1.523 GB, free: 12.75 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/1.198, allocations: 63.92 kB / 1.523 GB, free: 12.69 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004841/1.198, allocations: 338.6 kB / 1.524 GB, free: 12.36 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/1.199, allocations: 140.9 kB / 1.524 GB, free: 12.22 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/1.199, allocations: 171.4 kB / 1.524 GB, free: 12.05 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/1.199, allocations: 127.4 kB / 1.524 GB, free: 11.93 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/1.199, allocations: 24 kB / 1.524 GB, free: 11.9 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 4.169e-05/1.199, allocations: 24 kB / 1.524 GB, free: 11.88 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/1.2, allocations: 75.75 kB / 1.524 GB, free: 11.8 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/1.2, allocations: 127.3 kB / 1.524 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004092/1.2, allocations: 294.6 kB / 1.525 GB, free: 11.39 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.2, allocations: 7.938 kB / 1.525 GB, free: 11.38 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.395e-06/1.2, allocations: 0 / 1.525 GB, free: 11.38 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.714e-06/1.2, allocations: 0 / 1.525 GB, free: 11.38 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007108/1.201, allocations: 0.5181 MB / 1.525 GB, free: 10.82 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.201, allocations: 8.031 kB / 1.525 GB, free: 10.81 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.08e-05/1.201, allocations: 12.56 kB / 1.525 GB, free: 10.8 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.824e-05/1.201, allocations: 62.53 kB / 1.525 GB, free: 10.73 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/1.201, allocations: 35.75 kB / 1.525 GB, free: 10.69 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/1.202, allocations: 277 kB / 1.525 GB, free: 10.38 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/1.202, allocations: 20.56 kB / 1.525 GB, free: 10.36 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/1.202, allocations: 28 kB / 1.525 GB, free: 10.33 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/1.202, allocations: 324 kB / 1.526 GB, free: 9.973 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.202, allocations: 3.938 kB / 1.526 GB, free: 9.969 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/1.202, allocations: 12 kB / 1.526 GB, free: 9.957 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/1.202, allocations: 11.94 kB / 1.526 GB, free: 9.945 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/1.202, allocations: 143.7 kB / 1.526 GB, free: 9.805 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/1.204, allocations: 1.812 MB / 1.528 GB, free: 7.895 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/1.204, allocations: 169.1 kB / 1.528 GB, free: 7.719 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/1.204, allocations: 80.14 kB / 1.528 GB, free: 7.637 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/1.204, allocations: 75.28 kB / 1.528 GB, free: 7.562 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/1.204, allocations: 109.8 kB / 1.528 GB, free: 7.445 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 3.146e-06/1.204, allocations: 4.094 kB / 1.528 GB, free: 7.441 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001075/1.204, allocations: 73.38 kB / 1.528 GB, free: 7.363 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/1.205, allocations: 126.7 kB / 1.528 GB, free: 7.227 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/1.205, allocations: 369.7 kB / 1.529 GB, free: 6.863 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.205, allocations: 25.7 kB / 1.529 GB, free: 6.832 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/1.205, allocations: 175.9 kB / 1.529 GB, free: 6.656 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/1.205, allocations: 0 / 1.529 GB, free: 6.656 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/1.205, allocations: 13.72 kB / 1.529 GB, free: 6.637 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.205, allocations: 338.8 kB / 1.529 GB, free: 6.297 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/1.205, allocations: 15.98 kB / 1.529 GB, free: 6.281 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/1.205, allocations: 28.3 kB / 1.529 GB, free: 6.238 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.443e-05/1.205, allocations: 48.17 kB / 1.529 GB, free: 6.176 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.205, allocations: 0 / 1.529 GB, free: 6.176 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001658/1.206, allocations: 93.38 kB / 1.529 GB, free: 6.078 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.206, allocations: 14.19 kB / 1.529 GB, free: 6.066 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.206, allocations: 3.984 kB / 1.529 GB, free: 6.062 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.206, allocations: 0 / 1.529 GB, free: 6.062 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/1.206, allocations: 11.94 kB / 1.529 GB, free: 6.051 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.206, allocations: 7.938 kB / 1.529 GB, free: 6.043 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/1.206, allocations: 23.73 kB / 1.529 GB, free: 6.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/1.206, allocations: 7.984 kB / 1.529 GB, free: 6.012 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001496/1.206, allocations: 213 kB / 1.53 GB, free: 5.793 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/1.206, allocations: 140.8 kB / 1.53 GB, free: 5.648 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/1.206, allocations: 126.9 kB / 1.53 GB, free: 5.512 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.608e-05/1.206, allocations: 180.2 kB / 1.53 GB, free: 5.328 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-05/1.206, allocations: 184.2 kB / 1.53 GB, free: 5.141 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-05/1.206, allocations: 180.3 kB / 1.53 GB, free: 4.957 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/1.207, allocations: 497.2 kB / 1.531 GB, free: 4.414 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.857e-05/1.207, allocations: 112.9 kB / 1.531 GB, free: 4.297 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/1.207, allocations: 101 kB / 1.531 GB, free: 4.191 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.033e-05/1.207, allocations: 184.2 kB / 1.531 GB, free: 4.004 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/1.207, allocations: 176.3 kB / 1.531 GB, free: 3.824 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.867e-05/1.207, allocations: 180.3 kB / 1.532 GB, free: 3.641 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.901e-05/1.207, allocations: 184.2 kB / 1.532 GB, free: 3.453 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/1.207, allocations: 335.5 kB / 1.532 GB, free: 3.102 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/1.207, allocations: 209.9 kB / 1.532 GB, free: 2.871 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.208, allocations: 180.2 kB / 1.532 GB, free: 2.688 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/1.208, allocations: 108.9 kB / 1.533 GB, free: 2.574 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/1.208, allocations: 184.3 kB / 1.533 GB, free: 2.387 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/1.208, allocations: 105 kB / 1.533 GB, free: 2.277 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002887/1.208, allocations: 267.2 kB / 1.533 GB, free: 2.02 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.208, allocations: 0 / 1.533 GB, free: 2.02 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000265/1.208, allocations: 35.94 kB / 1.533 GB, free: 1.984 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.00049/1.209, allocations: 0.832 MB / 1.534 GB, free: 1.125 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 7.798e-05/1.209, allocations: 19.92 kB / 1.534 GB, free: 1.105 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.209, allocations: 4 kB / 1.534 GB, free: 1.102 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/1.209, allocations: 4 kB / 1.534 GB, free: 1.098 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/1.21, allocations: 0.5558 MB / 1.535 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/1.213, allocations: 2.69 MB / 1.537 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/1.213, allocations: 0.7558 MB / 1.538 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001122/1.213, allocations: 30.97 kB / 1.538 GB, free: 12.93 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.214, allocations: 79.41 kB / 1.538 GB, free: 12.85 MB / 1.217 GB Notification: Performance of SimCode: time 3.11e-07/1.214, allocations: 0 / 1.538 GB, free: 12.85 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/1.238, allocations: 5.983 MB / 1.544 GB, free: 7.07 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.947/10.18, allocations: 21.36 kB / 1.544 GB, free: 7.055 MB / 1.217 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.79577037197305]