Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001346/0.001346, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001717/0.001717, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.432/1.432, 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 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.06/3.06, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.InletToAirMoistAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_12_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.00218/0.00218, allocations: 70.58 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3495, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1878/0.5373, allocations: 153.7 MB / 1.475 GB, free: 8.152 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.5481, allocations: 8.643 MB / 1.484 GB, free: 15.48 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.5484, allocations: 7.938 kB / 1.484 GB, free: 15.47 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.5491, allocations: 206.6 kB / 1.484 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.5494, allocations: 91.38 kB / 1.484 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.5496, allocations: 63.92 kB / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.55, allocations: 318.7 kB / 1.484 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.5503, allocations: 100.9 kB / 1.484 GB, free: 14.7 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.5507, allocations: 167.3 kB / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.5508, allocations: 91.48 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.5508, allocations: 16 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.378e-05/0.5509, allocations: 20 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.5509, allocations: 43.8 kB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.551, allocations: 79.61 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.5513, allocations: 218.9 kB / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5513, allocations: 0 / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5513, allocations: 0 / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5513, allocations: 4 kB / 1.485 GB, free: 14.07 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004978/0.5518, allocations: 405.6 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5519, allocations: 8.031 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.48e-05/0.5519, allocations: 58.55 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.552, allocations: 31.78 kB / 1.485 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.5523, allocations: 192.9 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.5524, allocations: 16.44 kB / 1.486 GB, free: 13.31 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.5524, allocations: 16 kB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.5528, allocations: 235.8 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5528, allocations: 4 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.5528, allocations: 15.94 kB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.5528, allocations: 8 kB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.553, allocations: 87.83 kB / 1.486 GB, free: 12.91 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.5544, allocations: 1.367 MB / 1.487 GB, free: 11.46 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.5545, allocations: 169.1 kB / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.5545, allocations: 88.08 kB / 1.488 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.5546, allocations: 75.28 kB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/0.5546, allocations: 109.8 kB / 1.488 GB, free: 11.01 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.5546, allocations: 0 / 1.488 GB, free: 11.01 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001017/0.5547, allocations: 53.55 kB / 1.488 GB, free: 10.95 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.5548, allocations: 130.7 kB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.5551, allocations: 296.1 kB / 1.488 GB, free: 10.51 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.5552, allocations: 25.7 kB / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.5553, allocations: 144 kB / 1.488 GB, free: 10.33 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.5553, allocations: 0 / 1.488 GB, free: 10.33 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.5553, allocations: 17.7 kB / 1.488 GB, free: 10.31 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5555, allocations: 334.8 kB / 1.489 GB, free: 9.973 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.5555, allocations: 11.92 kB / 1.489 GB, free: 9.961 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/0.5555, allocations: 23.44 kB / 1.489 GB, free: 9.926 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.3e-05/0.5556, allocations: 39.38 kB / 1.489 GB, free: 9.875 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5556, allocations: 0 / 1.489 GB, free: 9.875 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001426/0.5557, allocations: 73.48 kB / 1.489 GB, free: 9.797 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5557, allocations: 8 kB / 1.489 GB, free: 9.789 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5557, allocations: 0 / 1.489 GB, free: 9.789 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5558, allocations: 0 / 1.489 GB, free: 9.789 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.5558, allocations: 12 kB / 1.489 GB, free: 9.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5558, allocations: 4.125 kB / 1.489 GB, free: 9.773 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.5559, allocations: 23.78 kB / 1.489 GB, free: 9.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5559, allocations: 0 / 1.489 GB, free: 9.75 MB / 1.186 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.0001494/0.556, allocations: 209.5 kB / 1.489 GB, free: 9.535 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.5561, allocations: 124.8 kB / 1.489 GB, free: 9.406 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/0.5562, allocations: 117.9 kB / 1.489 GB, free: 9.285 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001534/0.5564, allocations: 184.2 kB / 1.489 GB, free: 9.098 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-05/0.5564, allocations: 176.3 kB / 1.49 GB, free: 8.918 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001231/0.5566, allocations: 188.2 kB / 1.49 GB, free: 8.727 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.5569, allocations: 432.2 kB / 1.49 GB, free: 8.254 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.363e-05/0.557, allocations: 105 kB / 1.49 GB, free: 8.145 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.557, allocations: 109 kB / 1.49 GB, free: 8.031 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.5572, allocations: 180.4 kB / 1.491 GB, free: 7.848 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.5573, allocations: 188.2 kB / 1.491 GB, free: 7.656 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.081e-05/0.5574, allocations: 184.2 kB / 1.491 GB, free: 7.469 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.45e-05/0.5575, allocations: 180.2 kB / 1.491 GB, free: 7.285 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.5578, allocations: 323.6 kB / 1.491 GB, free: 6.945 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/0.5579, allocations: 132.9 kB / 1.492 GB, free: 6.809 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.558, allocations: 180.2 kB / 1.492 GB, free: 6.625 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.5581, allocations: 105 kB / 1.492 GB, free: 6.516 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.5582, allocations: 184.2 kB / 1.492 GB, free: 6.328 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.5582, allocations: 109 kB / 1.492 GB, free: 6.215 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002192/0.5585, allocations: 207.1 kB / 1.492 GB, free: 6.016 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5585, allocations: 0 / 1.492 GB, free: 6.016 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002779/0.5587, allocations: 27.94 kB / 1.492 GB, free: 5.988 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.0005196/0.5593, allocations: 0.828 MB / 1.493 GB, free: 5.129 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.5593, allocations: 15.94 kB / 1.493 GB, free: 5.113 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5593, allocations: 0 / 1.493 GB, free: 5.113 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.5593, allocations: 0 / 1.493 GB, free: 5.113 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/0.5601, allocations: 0.5377 MB / 1.494 GB, free: 4.574 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.5626, allocations: 2.233 MB / 1.496 GB, free: 2.25 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.5628, allocations: 109.3 kB / 1.496 GB, free: 2.121 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.02e-05/0.5628, allocations: 21.95 kB / 1.496 GB, free: 2.098 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.741e-05/0.5629, allocations: 59.41 kB / 1.496 GB, free: 2.039 MB / 1.186 GB Notification: Performance of SimCode: time 6.71e-07/0.5629, allocations: 0 / 1.496 GB, free: 2.039 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.5963, allocations: 5.538 MB / 1.501 GB, free: 12.7 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.15, allocations: 7.172 kB / 1.501 GB, free: 12.7 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_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_InletToAirMoistAir.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable conAir.m_flow from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable conAir.T in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable conAir.T from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable conAir.X_w in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable conAir.X_w from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable souRev.outlet.backward.T in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable souRev.outlet.backward.T from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable souRev.outlet.backward.X_w in file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable souRev.outlet.backward.X_w from file Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.66780311986804]