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.0013/0.0013, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001524/0.001524, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.984 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.327/3.327, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.00203/0.00203, allocations: 68.03 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3418, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2017/0.5435, allocations: 151.6 MB / 1.501 GB, free: 216 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006521/0.55, allocations: 4.765 MB / 1.506 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.5503, allocations: 11.94 kB / 1.506 GB, free: 11.42 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.5508, allocations: 170.8 kB / 1.506 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.5512, allocations: 87.44 kB / 1.506 GB, free: 11.17 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.5514, allocations: 63.86 kB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005002/0.5519, allocations: 302.8 kB / 1.506 GB, free: 10.81 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.5521, allocations: 105.1 kB / 1.506 GB, free: 10.71 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.5523, allocations: 119.5 kB / 1.506 GB, free: 10.59 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.5526, allocations: 159.4 kB / 1.507 GB, free: 10.43 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.5526, allocations: 16 kB / 1.507 GB, free: 10.42 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 3.563e-05/0.5526, allocations: 16 kB / 1.507 GB, free: 10.4 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.5527, allocations: 63.77 kB / 1.507 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.5528, allocations: 103.5 kB / 1.507 GB, free: 10.24 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.5531, allocations: 230.9 kB / 1.507 GB, free: 10.01 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.5531, allocations: 0 / 1.507 GB, free: 10.01 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5531, allocations: 4 kB / 1.507 GB, free: 10.01 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5531, allocations: 3.938 kB / 1.507 GB, free: 10 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005241/0.5537, allocations: 429.7 kB / 1.507 GB, free: 9.555 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5537, allocations: 12.03 kB / 1.507 GB, free: 9.543 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.5538, allocations: 54.73 kB / 1.507 GB, free: 9.48 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.5538, allocations: 24.8 kB / 1.508 GB, free: 9.457 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.5542, allocations: 207.5 kB / 1.508 GB, free: 9.23 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5542, allocations: 20.81 kB / 1.508 GB, free: 9.211 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.5543, allocations: 20.38 kB / 1.508 GB, free: 9.191 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.5547, allocations: 306.7 kB / 1.508 GB, free: 8.836 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5547, allocations: 7.938 kB / 1.508 GB, free: 8.828 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.5547, allocations: 8 kB / 1.508 GB, free: 8.82 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.5548, allocations: 8 kB / 1.508 GB, free: 8.812 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.555, allocations: 123.7 kB / 1.508 GB, free: 8.691 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.5568, allocations: 1.939 MB / 1.51 GB, free: 6.652 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.557, allocations: 165.1 kB / 1.51 GB, free: 6.48 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.557, allocations: 84.17 kB / 1.51 GB, free: 6.395 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.557, allocations: 75.28 kB / 1.51 GB, free: 6.32 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.625e-05/0.5571, allocations: 113.8 kB / 1.51 GB, free: 6.199 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5571, allocations: 4 kB / 1.51 GB, free: 6.195 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 9.78e-05/0.5572, allocations: 53.48 kB / 1.511 GB, free: 6.137 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.5573, allocations: 134.7 kB / 1.511 GB, free: 5.992 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.5577, allocations: 320.5 kB / 1.511 GB, free: 5.664 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.5577, allocations: 25.7 kB / 1.511 GB, free: 5.633 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.5578, allocations: 171.8 kB / 1.511 GB, free: 5.461 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-06/0.5578, allocations: 0 / 1.511 GB, free: 5.461 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.5579, allocations: 21.72 kB / 1.511 GB, free: 5.434 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.558, allocations: 338.8 kB / 1.512 GB, free: 5.094 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.558, allocations: 4 kB / 1.512 GB, free: 5.09 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.5581, allocations: 62.78 kB / 1.512 GB, free: 5.004 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.709e-05/0.5582, allocations: 66.81 kB / 1.512 GB, free: 4.914 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5582, allocations: 0 / 1.512 GB, free: 4.914 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001941/0.5584, allocations: 117.3 kB / 1.512 GB, free: 4.793 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5584, allocations: 9.719 kB / 1.512 GB, free: 4.785 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5584, allocations: 3.938 kB / 1.512 GB, free: 4.781 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5584, allocations: 4 kB / 1.512 GB, free: 4.777 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.5585, allocations: 15.94 kB / 1.512 GB, free: 4.762 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5585, allocations: 0 / 1.512 GB, free: 4.762 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.5586, allocations: 27.73 kB / 1.512 GB, free: 4.734 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.5586, allocations: 8.234 kB / 1.512 GB, free: 4.727 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.0001576/0.5588, allocations: 217 kB / 1.512 GB, free: 4.504 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.5589, allocations: 132.8 kB / 1.512 GB, free: 4.367 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.5589, allocations: 125.9 kB / 1.512 GB, free: 4.234 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.33e-05/0.559, allocations: 184.3 kB / 1.512 GB, free: 4.047 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.745e-05/0.5591, allocations: 180.2 kB / 1.513 GB, free: 3.863 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-05/0.5592, allocations: 184.3 kB / 1.513 GB, free: 3.676 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.5596, allocations: 456.2 kB / 1.513 GB, free: 3.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.898e-05/0.5596, allocations: 101 kB / 1.513 GB, free: 3.074 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.5597, allocations: 101 kB / 1.513 GB, free: 2.969 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.574e-05/0.5597, allocations: 184.2 kB / 1.514 GB, free: 2.781 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.5599, allocations: 192.2 kB / 1.514 GB, free: 2.586 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-05/0.56, allocations: 184.2 kB / 1.514 GB, free: 2.398 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.354e-05/0.5601, allocations: 176.3 kB / 1.514 GB, free: 2.219 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.5603, allocations: 331.6 kB / 1.514 GB, free: 1.871 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.5604, allocations: 120.8 kB / 1.515 GB, free: 1.746 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.5605, allocations: 200.1 kB / 1.515 GB, free: 1.543 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.5607, allocations: 105 kB / 1.515 GB, free: 1.434 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.5608, allocations: 176.3 kB / 1.515 GB, free: 1.254 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.5608, allocations: 104.9 kB / 1.515 GB, free: 1.145 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002676/0.5611, allocations: 235 kB / 1.515 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5611, allocations: 0 / 1.515 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002861/0.5613, allocations: 35.89 kB / 1.515 GB, free: 0.8789 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.000608/0.562, allocations: 0.8281 MB / 1.516 GB, free: 24 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.995e-05/0.5621, allocations: 24.31 kB / 1.516 GB, free: 0 / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5621, allocations: 64 / 1.516 GB, free: 0 / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.5621, allocations: 4.047 kB / 1.516 GB, free: 15.99 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008512/0.5629, allocations: 0.5158 MB / 1.517 GB, free: 15.47 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.5659, allocations: 2.522 MB / 1.519 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.5663, allocations: 0.748 MB / 1.52 GB, free: 12.06 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001793/0.5665, allocations: 30.22 kB / 1.52 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/0.5666, allocations: 55.42 kB / 1.52 GB, free: 11.98 MB / 1.217 GB Notification: Performance of SimCode: time 3.71e-07/0.5666, allocations: 0 / 1.52 GB, free: 11.98 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.6009, allocations: 4.957 MB / 1.525 GB, free: 7.191 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.04, allocations: 4 kB / 1.525 GB, free: 7.188 MB / 1.217 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.77212987281382]