Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001336/0.001336, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.001827/0.001827, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.278/3.278, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] 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.InletToAirDryAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_12_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.002081/0.002081, allocations: 72.17 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1766/0.494, allocations: 151.4 MB / 1.469 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006207/0.5002, allocations: 4.691 MB / 1.473 GB, free: 6.621 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.5007, allocations: 11.88 kB / 1.473 GB, free: 6.609 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.5017, allocations: 170.8 kB / 1.473 GB, free: 6.441 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.5022, allocations: 87.45 kB / 1.474 GB, free: 6.355 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.5024, allocations: 59.92 kB / 1.474 GB, free: 6.297 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.503, allocations: 294.8 kB / 1.474 GB, free: 6.008 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.5032, allocations: 82.94 kB / 1.474 GB, free: 5.926 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.5035, allocations: 111.5 kB / 1.474 GB, free: 5.816 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.5037, allocations: 127.5 kB / 1.474 GB, free: 5.691 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.5037, allocations: 12 kB / 1.474 GB, free: 5.68 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 3.51e-05/0.5038, allocations: 8 kB / 1.474 GB, free: 5.672 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.5038, allocations: 35.86 kB / 1.474 GB, free: 5.637 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.5039, allocations: 79.55 kB / 1.474 GB, free: 5.559 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.5042, allocations: 163.2 kB / 1.474 GB, free: 5.398 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5042, allocations: 0 / 1.474 GB, free: 5.398 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5042, allocations: 0 / 1.474 GB, free: 5.398 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.5042, allocations: 0 / 1.474 GB, free: 5.398 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005269/0.5047, allocations: 450.7 kB / 1.475 GB, free: 4.91 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5048, allocations: 11.98 kB / 1.475 GB, free: 4.898 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.5048, allocations: 54.73 kB / 1.475 GB, free: 4.836 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.5049, allocations: 16.84 kB / 1.475 GB, free: 4.82 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.5052, allocations: 252.5 kB / 1.475 GB, free: 4.535 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.5052, allocations: 20.06 kB / 1.475 GB, free: 4.516 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.5053, allocations: 16 kB / 1.475 GB, free: 4.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.5056, allocations: 208.4 kB / 1.475 GB, free: 4.25 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.5056, allocations: 0 / 1.475 GB, free: 4.25 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.5056, allocations: 8 kB / 1.475 GB, free: 4.242 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5056, allocations: 8 kB / 1.475 GB, free: 4.234 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.5058, allocations: 75.78 kB / 1.476 GB, free: 4.16 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.5071, allocations: 1.583 MB / 1.477 GB, free: 2.48 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 9.906e-05/0.5072, allocations: 177.1 kB / 1.477 GB, free: 2.297 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.5072, allocations: 80.14 kB / 1.477 GB, free: 2.215 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.5072, allocations: 75.28 kB / 1.477 GB, free: 2.141 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.5073, allocations: 105.8 kB / 1.477 GB, free: 2.027 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.5073, allocations: 0 / 1.477 GB, free: 2.027 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001004/0.5074, allocations: 57.53 kB / 1.478 GB, free: 1.965 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.5075, allocations: 126.7 kB / 1.478 GB, free: 1.828 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.5078, allocations: 246.6 kB / 1.478 GB, free: 1.574 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.5078, allocations: 25.7 kB / 1.478 GB, free: 1.543 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5079, allocations: 147.9 kB / 1.478 GB, free: 1.395 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.5079, allocations: 0 / 1.478 GB, free: 1.395 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.508, allocations: 17.72 kB / 1.478 GB, free: 1.371 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5082, allocations: 334.8 kB / 1.478 GB, free: 1.035 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.5082, allocations: 7.938 kB / 1.478 GB, free: 1.027 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.5082, allocations: 46.02 kB / 1.478 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.342e-05/0.5083, allocations: 69.88 kB / 1.478 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5083, allocations: 3.938 kB / 1.479 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001697/0.5085, allocations: 89.66 kB / 1.479 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5085, allocations: 8 kB / 1.479 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5085, allocations: 0 / 1.479 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5085, allocations: 4 kB / 1.479 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.5086, allocations: 19.91 kB / 1.479 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5086, allocations: 4.156 kB / 1.479 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.5087, allocations: 19.78 kB / 1.479 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.5087, allocations: 4 kB / 1.479 GB, free: 0.7148 MB / 1.17 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.0001378/0.5088, allocations: 201.1 kB / 1.479 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.574e-05/0.5089, allocations: 124.9 kB / 1.479 GB, free: 388 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.509, allocations: 117.8 kB / 1.479 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.908e-05/0.5091, allocations: 180.3 kB / 1.479 GB, free: 72 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.515e-05/0.5092, allocations: 180.2 kB / 1.479 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001732/0.5094, allocations: 180.2 kB / 1.48 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.5097, allocations: 469.1 kB / 1.48 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.183e-05/0.5098, allocations: 112.9 kB / 1.48 GB, free: 15.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.5098, allocations: 101 kB / 1.48 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.5099, allocations: 180.4 kB / 1.48 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/0.51, allocations: 184.3 kB / 1.481 GB, free: 14.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.467e-05/0.5101, allocations: 188.2 kB / 1.481 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.887e-05/0.5102, allocations: 184.2 kB / 1.481 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.5104, allocations: 327.6 kB / 1.481 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5105, allocations: 194 kB / 1.481 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/0.5106, allocations: 180.2 kB / 1.482 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5107, allocations: 105 kB / 1.482 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.5108, allocations: 188.2 kB / 1.482 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.5108, allocations: 101 kB / 1.482 GB, free: 13.07 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001817/0.511, allocations: 182 kB / 1.482 GB, free: 12.89 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.511, allocations: 0 / 1.482 GB, free: 12.89 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000258/0.5113, allocations: 20 kB / 1.482 GB, free: 12.87 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.0004906/0.5117, allocations: 0.8281 MB / 1.483 GB, free: 12.02 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.5118, allocations: 23.92 kB / 1.483 GB, free: 11.99 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5118, allocations: 3.938 kB / 1.483 GB, free: 11.99 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.5118, allocations: 0 / 1.483 GB, free: 11.99 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.5126, allocations: 0.5006 MB / 1.484 GB, free: 11.48 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.5149, allocations: 2.053 MB / 1.486 GB, free: 9.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.5153, allocations: 0.7163 MB / 1.486 GB, free: 8.578 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 7.426e-05/0.5154, allocations: 17.55 kB / 1.486 GB, free: 8.559 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.5155, allocations: 47.42 kB / 1.486 GB, free: 8.512 MB / 1.186 GB Notification: Performance of SimCode: time 6.82e-07/0.5155, allocations: 0 / 1.486 GB, free: 8.512 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.5491, allocations: 3.592 MB / 1.49 GB, free: 5.035 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/8.962, allocations: 14.06 kB / 1.49 GB, free: 5.023 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conAir.m_flow in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv. Warning: Get data of variable conAir.m_flow from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv failed! Error: Could not read variable conAir.T in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv. Warning: Get data of variable conAir.T from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv failed! Error: Could not read variable souRev.outlet.backward.T in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv. Warning: Get data of variable souRev.outlet.backward.T from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.607963105896488]