Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001946/0.001946, allocations: 105.5 kB / 16.45 MB, free: 6.449 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.002251/0.002251, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.426/1.426, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.119/3.119, allocations: 0.49 GB / 0.7916 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_12_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.002036/0.002036, allocations: 72.33 kB / 1.149 GB, free: 26.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1798/0.4956, allocations: 151.4 MB / 1.469 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005589/0.5012, allocations: 4.703 MB / 1.473 GB, free: 6.656 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.5014, allocations: 15.88 kB / 1.473 GB, free: 6.641 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.502, allocations: 162.8 kB / 1.474 GB, free: 6.48 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.5023, allocations: 95.44 kB / 1.474 GB, free: 6.387 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.5024, allocations: 59.92 kB / 1.474 GB, free: 6.328 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.5028, allocations: 298.8 kB / 1.474 GB, free: 6.035 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.5031, allocations: 115.8 kB / 1.474 GB, free: 5.926 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.5033, allocations: 127.5 kB / 1.474 GB, free: 5.801 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.5035, allocations: 151.4 kB / 1.474 GB, free: 5.652 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.5035, allocations: 16 kB / 1.474 GB, free: 5.637 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 3.007e-05/0.5036, allocations: 16 kB / 1.474 GB, free: 5.621 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.5036, allocations: 71.77 kB / 1.474 GB, free: 5.551 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.5038, allocations: 99.48 kB / 1.475 GB, free: 5.453 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.504, allocations: 238.8 kB / 1.475 GB, free: 5.219 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5041, allocations: 0 / 1.475 GB, free: 5.219 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5041, allocations: 0 / 1.475 GB, free: 5.219 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.5041, allocations: 8 kB / 1.475 GB, free: 5.211 MB / 1.17 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.0005356/0.5046, allocations: 494.8 kB / 1.475 GB, free: 4.68 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.5046, allocations: 15.98 kB / 1.475 GB, free: 4.664 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.877e-05/0.5047, allocations: 58.73 kB / 1.475 GB, free: 4.598 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.5048, allocations: 24.8 kB / 1.475 GB, free: 4.574 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.5051, allocations: 274 kB / 1.476 GB, free: 4.27 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.5052, allocations: 16.81 kB / 1.476 GB, free: 4.254 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.5052, allocations: 28.31 kB / 1.476 GB, free: 4.227 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.5056, allocations: 300.8 kB / 1.476 GB, free: 3.875 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5056, allocations: 3.938 kB / 1.476 GB, free: 3.871 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.5057, allocations: 12 kB / 1.476 GB, free: 3.859 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.5057, allocations: 8 kB / 1.476 GB, free: 3.852 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.5059, allocations: 119.8 kB / 1.476 GB, free: 3.734 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.5074, allocations: 1.973 MB / 1.478 GB, free: 1.652 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.5075, allocations: 165.1 kB / 1.478 GB, free: 1.48 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.5076, allocations: 88.08 kB / 1.478 GB, free: 1.391 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.5076, allocations: 79.27 kB / 1.478 GB, free: 1.312 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/0.5077, allocations: 117.8 kB / 1.478 GB, free: 1.188 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.502e-06/0.5077, allocations: 0 / 1.478 GB, free: 1.188 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.5078, allocations: 53.5 kB / 1.478 GB, free: 1.129 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.5079, allocations: 126.7 kB / 1.479 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.5082, allocations: 336.5 kB / 1.479 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.5083, allocations: 25.7 kB / 1.479 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5084, allocations: 159.8 kB / 1.479 GB, free: 464 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.5084, allocations: 7.938 kB / 1.479 GB, free: 456 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.5084, allocations: 25.72 kB / 1.479 GB, free: 424 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5086, allocations: 330.8 kB / 1.479 GB, free: 84 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.5086, allocations: 11.94 kB / 1.479 GB, free: 72 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.538e-05/0.5087, allocations: 54.86 kB / 1.479 GB, free: 15.99 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.001e-05/0.5087, allocations: 70.75 kB / 1.48 GB, free: 15.9 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5088, allocations: 4 kB / 1.48 GB, free: 15.89 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001761/0.5089, allocations: 105.4 kB / 1.48 GB, free: 15.79 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5089, allocations: 4 kB / 1.48 GB, free: 15.78 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5089, allocations: 3.938 kB / 1.48 GB, free: 15.78 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.509, allocations: 4 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.509, allocations: 19.92 kB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.509, allocations: 4 kB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.5091, allocations: 27.98 kB / 1.48 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.5091, allocations: 8 kB / 1.48 GB, free: 15.71 MB / 1.186 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.0001437/0.5093, allocations: 210.9 kB / 1.48 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.5094, allocations: 128.8 kB / 1.48 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.155e-05/0.5095, allocations: 130 kB / 1.48 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.984e-05/0.5095, allocations: 184.1 kB / 1.48 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.872e-05/0.5096, allocations: 180.3 kB / 1.481 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-05/0.5097, allocations: 184.4 kB / 1.481 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.51, allocations: 481.1 kB / 1.481 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.706e-05/0.5101, allocations: 101 kB / 1.481 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.5101, allocations: 116.9 kB / 1.481 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-05/0.5102, allocations: 176.3 kB / 1.482 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.956e-05/0.5103, allocations: 184.2 kB / 1.482 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.146e-05/0.5104, allocations: 180.2 kB / 1.482 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.623e-05/0.5104, allocations: 180.3 kB / 1.482 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.5106, allocations: 327.6 kB / 1.482 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.5108, allocations: 213.9 kB / 1.483 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.955e-05/0.5109, allocations: 180.2 kB / 1.483 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.511, allocations: 105 kB / 1.483 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.5111, allocations: 180.2 kB / 1.483 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.5111, allocations: 101 kB / 1.483 GB, free: 12.03 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002612/0.5114, allocations: 239 kB / 1.483 GB, free: 11.8 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5114, allocations: 0 / 1.483 GB, free: 11.8 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002662/0.5116, allocations: 28 kB / 1.483 GB, free: 11.77 MB / 1.186 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.0005096/0.5121, allocations: 0.8436 MB / 1.484 GB, free: 10.9 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.5122, allocations: 28.36 kB / 1.484 GB, free: 10.87 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5122, allocations: 0 / 1.484 GB, free: 10.87 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.5122, allocations: 3.938 kB / 1.484 GB, free: 10.87 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.513, allocations: 0.5159 MB / 1.485 GB, free: 10.35 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.5158, allocations: 2.514 MB / 1.487 GB, free: 7.715 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.5162, allocations: 0.748 MB / 1.488 GB, free: 6.941 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000101/0.5163, allocations: 26.28 kB / 1.488 GB, free: 6.914 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.5164, allocations: 55.42 kB / 1.488 GB, free: 6.859 MB / 1.186 GB Notification: Performance of SimCode: time 9.51e-07/0.5164, allocations: 7.938 kB / 1.488 GB, free: 6.852 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.5444, allocations: 4.826 MB / 1.493 GB, free: 2.172 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.882, allocations: 13.41 kB / 1.493 GB, free: 2.164 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.37187877506949]