Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.001343/0.001343, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.001585/0.001585, allocations: 215.1 kB / 22.25 MB, free: 4.875 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 MB, free: 7.797 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.197/3.197, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.002258/0.002258, allocations: 71.09 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.41, allocations: 181.9 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.163/0.573, allocations: 130.8 MB / 1.491 GB, free: 10.73 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005334/0.5783, allocations: 4.364 MB / 1.495 GB, free: 6.348 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.5786, allocations: 7.938 kB / 1.495 GB, free: 6.34 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.5793, allocations: 170.8 kB / 1.496 GB, free: 6.172 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.5797, allocations: 83.44 kB / 1.496 GB, free: 6.09 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.5799, allocations: 67.92 kB / 1.496 GB, free: 6.023 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.5803, allocations: 294.8 kB / 1.496 GB, free: 5.734 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.5806, allocations: 108.4 kB / 1.496 GB, free: 5.633 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.5808, allocations: 119.5 kB / 1.496 GB, free: 5.516 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.581, allocations: 143.4 kB / 1.496 GB, free: 5.375 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.5811, allocations: 16 kB / 1.496 GB, free: 5.359 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-05/0.5811, allocations: 16 kB / 1.496 GB, free: 5.344 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.968e-05/0.5812, allocations: 71.7 kB / 1.496 GB, free: 5.273 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.5813, allocations: 91.58 kB / 1.497 GB, free: 5.184 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.5816, allocations: 230.9 kB / 1.497 GB, free: 4.957 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5816, allocations: 0 / 1.497 GB, free: 4.957 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5816, allocations: 4 kB / 1.497 GB, free: 4.953 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5816, allocations: 4 kB / 1.497 GB, free: 4.949 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005642/0.5822, allocations: 421.7 kB / 1.497 GB, free: 4.508 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5822, allocations: 8.031 kB / 1.497 GB, free: 4.5 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/0.5823, allocations: 58.73 kB / 1.497 GB, free: 4.434 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.5823, allocations: 28.75 kB / 1.497 GB, free: 4.406 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.5828, allocations: 202.2 kB / 1.497 GB, free: 4.184 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.5828, allocations: 16.81 kB / 1.497 GB, free: 4.168 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.5828, allocations: 24.38 kB / 1.497 GB, free: 4.145 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.5833, allocations: 300.8 kB / 1.498 GB, free: 3.797 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.5833, allocations: 4 kB / 1.498 GB, free: 3.793 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.5834, allocations: 15.94 kB / 1.498 GB, free: 3.777 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5834, allocations: 7.938 kB / 1.498 GB, free: 3.77 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.5836, allocations: 119.8 kB / 1.498 GB, free: 3.652 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.5851, allocations: 1.904 MB / 1.5 GB, free: 1.648 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.5852, allocations: 173.1 kB / 1.5 GB, free: 1.469 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.5852, allocations: 80.14 kB / 1.5 GB, free: 1.387 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.5852, allocations: 75.28 kB / 1.5 GB, free: 1.312 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.075e-05/0.5853, allocations: 113.8 kB / 1.5 GB, free: 1.191 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.5853, allocations: 0 / 1.5 GB, free: 1.191 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.667e-05/0.5854, allocations: 57.5 kB / 1.5 GB, free: 1.129 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.5855, allocations: 126.7 kB / 1.5 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.5859, allocations: 332.5 kB / 1.501 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.5859, allocations: 25.7 kB / 1.501 GB, free: 0.625 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.586, allocations: 159.9 kB / 1.501 GB, free: 476 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.586, allocations: 0 / 1.501 GB, free: 476 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.5861, allocations: 37.66 kB / 1.501 GB, free: 432 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5862, allocations: 330.8 kB / 1.501 GB, free: 92 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.5863, allocations: 4 kB / 1.501 GB, free: 88 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.5863, allocations: 58.81 kB / 1.501 GB, free: 4 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.5864, allocations: 74.91 kB / 1.501 GB, free: 15.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5864, allocations: 4 kB / 1.501 GB, free: 15.9 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002029/0.5866, allocations: 101.4 kB / 1.501 GB, free: 15.79 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5866, allocations: 8 kB / 1.501 GB, free: 15.79 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.5867, allocations: 3.938 kB / 1.501 GB, free: 15.78 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5867, allocations: 11.92 kB / 1.501 GB, free: 15.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.5868, allocations: 16.19 kB / 1.501 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5868, allocations: 8 kB / 1.502 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.5868, allocations: 23.78 kB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.5868, allocations: 4 kB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001613/0.587, allocations: 213 kB / 1.502 GB, free: 15.5 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-05/0.5871, allocations: 132.7 kB / 1.502 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.189e-05/0.5872, allocations: 129.9 kB / 1.502 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.462e-05/0.5873, allocations: 180.2 kB / 1.502 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-05/0.5874, allocations: 184.2 kB / 1.502 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-05/0.5874, allocations: 176.4 kB / 1.502 GB, free: 14.68 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.5878, allocations: 448.1 kB / 1.503 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.974e-05/0.5878, allocations: 112.9 kB / 1.503 GB, free: 14.08 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.5879, allocations: 105 kB / 1.503 GB, free: 13.97 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.504e-05/0.588, allocations: 184.2 kB / 1.503 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.123e-05/0.588, allocations: 180.2 kB / 1.503 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.834e-05/0.5881, allocations: 180.2 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-05/0.5882, allocations: 184.2 kB / 1.504 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.5884, allocations: 327.6 kB / 1.504 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.5885, allocations: 132.8 kB / 1.504 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5886, allocations: 184.1 kB / 1.504 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5887, allocations: 105 kB / 1.505 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.5888, allocations: 188.2 kB / 1.505 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.5889, allocations: 105 kB / 1.505 GB, free: 12.15 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002647/0.5891, allocations: 243 kB / 1.505 GB, free: 11.91 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5891, allocations: 0 / 1.505 GB, free: 11.91 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002688/0.5894, allocations: 24 kB / 1.505 GB, free: 11.89 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.0006468/0.59, allocations: 0.832 MB / 1.506 GB, free: 11.03 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.5901, allocations: 19.94 kB / 1.506 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5901, allocations: 0.5 kB / 1.506 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5901, allocations: 4 kB / 1.506 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007845/0.5909, allocations: 0.5191 MB / 1.506 GB, free: 10.48 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.5937, allocations: 2.502 MB / 1.509 GB, free: 7.863 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.5939, allocations: 137.6 kB / 1.509 GB, free: 7.711 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 9.744e-05/0.594, allocations: 26.23 kB / 1.509 GB, free: 7.68 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5941, allocations: 59.41 kB / 1.509 GB, free: 7.621 MB / 1.201 GB Notification: Performance of SimCode: time 6.41e-07/0.5941, allocations: 4 kB / 1.509 GB, free: 7.617 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.6281, allocations: 5.622 MB / 1.515 GB, free: 2.184 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.28, allocations: 5.625 kB / 1.515 GB, free: 2.18 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.955000722780824]