Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.001825/0.001825, 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.002327/0.002327, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.988 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.221/3.221, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.002102/0.002102, allocations: 67.11 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.327, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.202/0.529, allocations: 177.7 MB / 1.526 GB, free: 6.035 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.5397, allocations: 9.651 MB / 1.536 GB, free: 12.36 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.5399, allocations: 11.94 kB / 1.536 GB, free: 12.34 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.5406, allocations: 198.6 kB / 1.536 GB, free: 12.15 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.5408, allocations: 91.38 kB / 1.536 GB, free: 12.06 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.541, allocations: 67.8 kB / 1.536 GB, free: 11.99 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.5414, allocations: 326.4 kB / 1.537 GB, free: 11.67 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.5416, allocations: 109 kB / 1.537 GB, free: 11.56 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.542, allocations: 159.4 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.5421, allocations: 111.4 kB / 1.537 GB, free: 11.3 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.5422, allocations: 16 kB / 1.537 GB, free: 11.28 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 2.881e-05/0.5422, allocations: 20 kB / 1.537 GB, free: 11.26 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.5422, allocations: 35.86 kB / 1.537 GB, free: 11.23 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 9.266e-05/0.5423, allocations: 99.48 kB / 1.537 GB, free: 11.13 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.5426, allocations: 218.9 kB / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5426, allocations: 0 / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5426, allocations: 0 / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.5426, allocations: 4 kB / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004593/0.5431, allocations: 409.6 kB / 1.538 GB, free: 10.48 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.5431, allocations: 8.031 kB / 1.538 GB, free: 10.47 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.5432, allocations: 54.55 kB / 1.538 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.5432, allocations: 31.8 kB / 1.538 GB, free: 10.38 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.5435, allocations: 189.4 kB / 1.538 GB, free: 10.17 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.5436, allocations: 12.44 kB / 1.538 GB, free: 10.16 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.5436, allocations: 20 kB / 1.538 GB, free: 10.14 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.5439, allocations: 239.8 kB / 1.538 GB, free: 9.863 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5439, allocations: 0 / 1.538 GB, free: 9.863 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.5439, allocations: 7.938 kB / 1.538 GB, free: 9.855 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.544, allocations: 8 kB / 1.538 GB, free: 9.848 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.5441, allocations: 91.78 kB / 1.538 GB, free: 9.758 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.5452, allocations: 1.399 MB / 1.54 GB, free: 8.277 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/0.5453, allocations: 169.1 kB / 1.54 GB, free: 8.102 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.5453, allocations: 88.08 kB / 1.54 GB, free: 8.012 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.5454, allocations: 83.22 kB / 1.54 GB, free: 7.93 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.5454, allocations: 105.8 kB / 1.54 GB, free: 7.816 MB / 1.232 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5454, allocations: 0 / 1.54 GB, free: 7.816 MB / 1.232 GB Notification: Performance of matching and sorting (n=0): time 9.211e-05/0.5455, allocations: 49.56 kB / 1.54 GB, free: 7.762 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.5456, allocations: 130.7 kB / 1.54 GB, free: 7.621 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.5459, allocations: 284.2 kB / 1.541 GB, free: 7.336 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.5459, allocations: 29.7 kB / 1.541 GB, free: 7.301 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.546, allocations: 148 kB / 1.541 GB, free: 7.152 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.546, allocations: 0 / 1.541 GB, free: 7.152 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.5461, allocations: 17.7 kB / 1.541 GB, free: 7.129 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5462, allocations: 334.8 kB / 1.541 GB, free: 6.793 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.5462, allocations: 4 kB / 1.541 GB, free: 6.789 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.5463, allocations: 31.36 kB / 1.541 GB, free: 6.746 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.5463, allocations: 35.38 kB / 1.541 GB, free: 6.699 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5463, allocations: 0 / 1.541 GB, free: 6.699 MB / 1.232 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/0.5464, allocations: 73.48 kB / 1.541 GB, free: 6.621 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5465, allocations: 12.12 kB / 1.541 GB, free: 6.609 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5465, allocations: 0 / 1.541 GB, free: 6.609 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5465, allocations: 0 / 1.541 GB, free: 6.609 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.5465, allocations: 12 kB / 1.541 GB, free: 6.598 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.5466, allocations: 0 / 1.541 GB, free: 6.598 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.5466, allocations: 23.78 kB / 1.541 GB, free: 6.574 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.5466, allocations: 0 / 1.541 GB, free: 6.574 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001324/0.5468, allocations: 209.6 kB / 1.541 GB, free: 6.359 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.5468, allocations: 124.8 kB / 1.542 GB, free: 6.23 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.5469, allocations: 126 kB / 1.542 GB, free: 6.098 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-05/0.547, allocations: 188.1 kB / 1.542 GB, free: 5.906 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.9e-05/0.5471, allocations: 180.3 kB / 1.542 GB, free: 5.723 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.6e-05/0.5472, allocations: 180.2 kB / 1.542 GB, free: 5.539 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.5475, allocations: 448.3 kB / 1.543 GB, free: 5.051 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/0.5475, allocations: 113 kB / 1.543 GB, free: 4.934 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.5476, allocations: 108.9 kB / 1.543 GB, free: 4.82 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-05/0.5476, allocations: 176.3 kB / 1.543 GB, free: 4.641 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/0.5477, allocations: 180.2 kB / 1.543 GB, free: 4.457 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.592e-05/0.5478, allocations: 184.2 kB / 1.543 GB, free: 4.27 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.569e-05/0.5479, allocations: 176.3 kB / 1.543 GB, free: 4.09 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.5481, allocations: 331.6 kB / 1.544 GB, free: 3.742 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.5482, allocations: 132.8 kB / 1.544 GB, free: 3.605 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.5483, allocations: 176.3 kB / 1.544 GB, free: 3.426 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5484, allocations: 101 kB / 1.544 GB, free: 3.32 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.5484, allocations: 188.2 kB / 1.544 GB, free: 3.129 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.5485, allocations: 105 kB / 1.544 GB, free: 3.02 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002115/0.5487, allocations: 211 kB / 1.545 GB, free: 2.812 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5487, allocations: 0 / 1.545 GB, free: 2.812 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0002529/0.549, allocations: 27.94 kB / 1.545 GB, free: 2.785 MB / 1.232 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.0004751/0.5494, allocations: 0.8281 MB / 1.546 GB, free: 1.926 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 8.432e-05/0.5495, allocations: 7.938 kB / 1.546 GB, free: 1.918 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5495, allocations: 4 kB / 1.546 GB, free: 1.914 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.5495, allocations: 0 / 1.546 GB, free: 1.914 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.5503, allocations: 0.5398 MB / 1.546 GB, free: 1.371 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.5527, allocations: 2.233 MB / 1.548 GB, free: 15.05 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.553, allocations: 0.7206 MB / 1.549 GB, free: 14.3 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 8.43e-05/0.5531, allocations: 21.95 kB / 1.549 GB, free: 14.28 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.5532, allocations: 59.39 kB / 1.549 GB, free: 14.22 MB / 1.248 GB Notification: Performance of SimCode: time 6.72e-07/0.5532, allocations: 0 / 1.549 GB, free: 14.22 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.5843, allocations: 4.814 MB / 1.554 GB, free: 9.566 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.54, allocations: 12.34 kB / 1.554 GB, free: 9.559 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conAir.m_flow in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable conAir.m_flow from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable conAir.T in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable conAir.T from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable conAir.X_w in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable conAir.X_w from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable souRev.outlet.backward.T in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable souRev.outlet.backward.T from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable souRev.outlet.backward.X_w in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable souRev.outlet.backward.X_w from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.30844018300013]