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.0007989/0.0007989, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007918/0.0007918, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8913/0.8913, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.715/1.715, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.114e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.5922/0.5922, allocations: 153.5 MB / 1.131 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005624/0.5978, allocations: 8.588 MB / 1.139 GB, free: 3.516 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.598, allocations: 10.81 kB / 1.139 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.5985, allocations: 206.9 kB / 1.14 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.5987, allocations: 102.2 kB / 1.14 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.5988, allocations: 67.7 kB / 1.14 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.5991, allocations: 326.9 kB / 1.14 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.5993, allocations: 101.8 kB / 1.14 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.5997, allocations: 212.5 kB / 1.14 GB, free: 2.957 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.5997, allocations: 77.23 kB / 1.14 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.5998, allocations: 19.03 kB / 1.14 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.5998, allocations: 16.03 kB / 1.14 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.5998, allocations: 42.38 kB / 1.14 GB, free: 2.895 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.5999, allocations: 66.84 kB / 1.14 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.6001, allocations: 212.8 kB / 1.141 GB, free: 2.777 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6001, allocations: 0 / 1.141 GB, free: 2.777 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6001, allocations: 1.719 kB / 1.141 GB, free: 2.777 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.6001, allocations: 3.938 kB / 1.141 GB, free: 2.773 MB / 0.9948 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.0003166/0.6004, allocations: 399 kB / 1.141 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.6004, allocations: 9.656 kB / 1.141 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.6005, allocations: 53.78 kB / 1.141 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.6005, allocations: 31.83 kB / 1.141 GB, free: 2.355 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.6008, allocations: 197.3 kB / 1.141 GB, free: 2.184 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.6008, allocations: 16.91 kB / 1.141 GB, free: 2.176 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.6008, allocations: 16.56 kB / 1.141 GB, free: 2.172 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.601, allocations: 235.4 kB / 1.142 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.601, allocations: 9.297 kB / 1.142 GB, free: 2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.6011, allocations: 10.34 kB / 1.142 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.6011, allocations: 5.438 kB / 1.142 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.6012, allocations: 94.59 kB / 1.142 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.6018, allocations: 1.358 MB / 1.143 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.6018, allocations: 170.8 kB / 1.143 GB, free: 0.5039 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.6018, allocations: 81.64 kB / 1.143 GB, free: 432 kB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.6019, allocations: 75.28 kB / 1.143 GB, free: 356 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.6019, allocations: 109 kB / 1.143 GB, free: 240 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.6019, allocations: 3.938 kB / 1.143 GB, free: 236 kB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 7.05e-05/0.6019, allocations: 57.09 kB / 1.144 GB, free: 184 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.602, allocations: 126.7 kB / 1.144 GB, free: 44 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.6022, allocations: 284.5 kB / 1.144 GB, free: 15.89 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.6023, allocations: 25.7 kB / 1.144 GB, free: 15.86 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.6023, allocations: 146.9 kB / 1.144 GB, free: 15.73 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.6024, allocations: 0 / 1.144 GB, free: 15.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.6024, allocations: 18.88 kB / 1.144 GB, free: 15.71 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.6025, allocations: 330 kB / 1.144 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.6025, allocations: 7.766 kB / 1.144 GB, free: 15.38 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/0.6025, allocations: 26.08 kB / 1.144 GB, free: 15.35 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.6026, allocations: 42.92 kB / 1.144 GB, free: 15.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6026, allocations: 3.938 kB / 1.144 GB, free: 15.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001365/0.6027, allocations: 77.47 kB / 1.145 GB, free: 15.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6027, allocations: 6.016 kB / 1.145 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6027, allocations: 1.094 kB / 1.145 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6027, allocations: 1.484 kB / 1.145 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.6028, allocations: 14.88 kB / 1.145 GB, free: 15.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.6028, allocations: 1.281 kB / 1.145 GB, free: 15.24 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.6029, allocations: 23 kB / 1.145 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.6029, allocations: 1.906 kB / 1.145 GB, free: 15.22 MB / 1.01 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.0001048/0.603, allocations: 209 kB / 1.145 GB, free: 15.02 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.603, allocations: 128.6 kB / 1.145 GB, free: 14.89 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.6031, allocations: 125 kB / 1.145 GB, free: 14.78 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.083e-05/0.6031, allocations: 182.2 kB / 1.145 GB, free: 14.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-05/0.6032, allocations: 182.4 kB / 1.145 GB, free: 14.41 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-05/0.6032, allocations: 179.4 kB / 1.146 GB, free: 14.23 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.6037, allocations: 439.4 kB / 1.146 GB, free: 13.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.6037, allocations: 103.4 kB / 1.146 GB, free: 13.69 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.6037, allocations: 107 kB / 1.146 GB, free: 13.58 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.173e-05/0.6038, allocations: 182.2 kB / 1.146 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.6038, allocations: 178.2 kB / 1.147 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.95e-05/0.6039, allocations: 182.1 kB / 1.147 GB, free: 13.04 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-05/0.6039, allocations: 178.3 kB / 1.147 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.604, allocations: 331 kB / 1.147 GB, free: 12.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.6041, allocations: 126.1 kB / 1.147 GB, free: 12.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.6041, allocations: 187.2 kB / 1.147 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.6042, allocations: 104.5 kB / 1.148 GB, free: 12.11 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.6042, allocations: 186.5 kB / 1.148 GB, free: 11.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.6043, allocations: 103.1 kB / 1.148 GB, free: 11.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001505/0.6044, allocations: 210.1 kB / 1.148 GB, free: 11.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6044, allocations: 0 / 1.148 GB, free: 11.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001589/0.6046, allocations: 22.84 kB / 1.148 GB, free: 11.7 MB / 1.01 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.0002707/0.6048, allocations: 0.8261 MB / 1.149 GB, free: 10.88 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 5.689e-05/0.6049, allocations: 11.2 kB / 1.149 GB, free: 10.87 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6049, allocations: 0 / 1.149 GB, free: 10.87 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-06/0.6049, allocations: 6.188 kB / 1.149 GB, free: 10.87 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.6054, allocations: 0.5328 MB / 1.149 GB, free: 10.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.6071, allocations: 2.244 MB / 1.152 GB, free: 8.691 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.048e-05/0.6072, allocations: 114.4 kB / 1.152 GB, free: 8.613 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.052e-05/0.6073, allocations: 23.23 kB / 1.152 GB, free: 8.605 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.6074, allocations: 59.69 kB / 1.152 GB, free: 8.562 MB / 1.01 GB Notification: Performance of SimCode: time 6.32e-07/0.6074, allocations: 0 / 1.152 GB, free: 8.562 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.6262, allocations: 5.661 MB / 1.157 GB, free: 7.34 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.133/7.759, allocations: 13.47 kB / 1.157 GB, free: 7.332 MB / 1.01 GB " [Timeout remaining time 292] (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/jenkins/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: 11.892740160226822]