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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 196.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 61.47 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2348, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1561/0.3909, allocations: 171.8 MB / 1.22 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008983/0.3999, allocations: 9.5 MB / 1.229 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.4002, allocations: 15.88 kB / 1.229 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.4008, allocations: 155 kB / 1.229 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.4011, allocations: 83.5 kB / 1.23 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.4012, allocations: 51.95 kB / 1.23 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.4016, allocations: 378.6 kB / 1.23 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.4019, allocations: 141.6 kB / 1.23 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.4022, allocations: 139.4 kB / 1.23 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.4024, allocations: 111.4 kB / 1.23 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.4024, allocations: 16 kB / 1.23 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.85e-05/0.4024, allocations: 12 kB / 1.23 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.4025, allocations: 31.86 kB / 1.23 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.4026, allocations: 95.53 kB / 1.23 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.4027, allocations: 199.2 kB / 1.231 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4028, allocations: 0 / 1.231 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.12e-07/0.4028, allocations: 0 / 1.231 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4028, allocations: 0 / 1.231 GB, free: 0.8633 MB / 0.9825 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.0004215/0.4032, allocations: 479.1 kB / 1.231 GB, free: 356 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4032, allocations: 11.97 kB / 1.231 GB, free: 344 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.4033, allocations: 66.47 kB / 1.231 GB, free: 268 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.4034, allocations: 23.66 kB / 1.231 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.4036, allocations: 251.5 kB / 1.231 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.4036, allocations: 16.44 kB / 1.231 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.4036, allocations: 20 kB / 1.231 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.4039, allocations: 227.8 kB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.404, allocations: 3.938 kB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.404, allocations: 15.94 kB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.404, allocations: 4 kB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.4041, allocations: 87.84 kB / 1.232 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.405, allocations: 1.437 MB / 1.233 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.591e-05/0.4051, allocations: 169.1 kB / 1.233 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.4052, allocations: 80.14 kB / 1.233 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.4052, allocations: 79.28 kB / 1.234 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.4052, allocations: 105.8 kB / 1.234 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.565e-06/0.4052, allocations: 0 / 1.234 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.221e-05/0.4053, allocations: 61.34 kB / 1.234 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.4054, allocations: 126.7 kB / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.4056, allocations: 279 kB / 1.234 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.4057, allocations: 25.7 kB / 1.234 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.4058, allocations: 151.9 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.4058, allocations: 3.938 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.4058, allocations: 25.61 kB / 1.234 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.4059, allocations: 330.8 kB / 1.235 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.4059, allocations: 7.984 kB / 1.235 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.406, allocations: 23.44 kB / 1.235 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.672e-05/0.406, allocations: 39.38 kB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.406, allocations: 112 / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001189/0.4061, allocations: 77.31 kB / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.4062, allocations: 4 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4062, allocations: 4 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.4062, allocations: 4.125 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.022e-05/0.4062, allocations: 8 kB / 1.235 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4062, allocations: 0 / 1.235 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.4063, allocations: 19.75 kB / 1.235 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.4063, allocations: 4 kB / 1.235 GB, free: 12.32 MB / 0.9981 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.0001053/0.4064, allocations: 213 kB / 1.235 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.4065, allocations: 124.6 kB / 1.235 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.4066, allocations: 125.9 kB / 1.235 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.844e-05/0.4066, allocations: 180.2 kB / 1.235 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-05/0.4067, allocations: 184.3 kB / 1.236 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-05/0.4067, allocations: 176.3 kB / 1.236 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.407, allocations: 477 kB / 1.236 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.407, allocations: 101 kB / 1.236 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.4071, allocations: 112.9 kB / 1.236 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-05/0.4071, allocations: 176.3 kB / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.4072, allocations: 176.3 kB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.559e-05/0.4072, allocations: 188.2 kB / 1.237 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.663e-05/0.4073, allocations: 180.3 kB / 1.237 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.4074, allocations: 327.4 kB / 1.237 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.4075, allocations: 197.9 kB / 1.238 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.4076, allocations: 180.2 kB / 1.238 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.4077, allocations: 109 kB / 1.238 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.4077, allocations: 184.2 kB / 1.238 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.4078, allocations: 105 kB / 1.238 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001717/0.4079, allocations: 206 kB / 1.238 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.408, allocations: 0 / 1.238 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002462/0.4082, allocations: 27.94 kB / 1.238 GB, free: 8.426 MB / 0.9981 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.0003218/0.4085, allocations: 0.8319 MB / 1.239 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.723e-05/0.4086, allocations: 12 kB / 1.239 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4086, allocations: 0 / 1.239 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.4086, allocations: 7.875 kB / 1.239 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.4094, allocations: 0.5939 MB / 1.24 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.4113, allocations: 2.269 MB / 1.242 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.4115, allocations: 0.7209 MB / 1.243 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.351e-05/0.4116, allocations: 25.94 kB / 1.243 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.4117, allocations: 59.42 kB / 1.243 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.4117, allocations: 0 / 1.243 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7089/1.121, allocations: 4.397 MB / 1.247 GB, free: 197 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/1.121, allocations: 217.2 kB / 1.247 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.817, allocations: 1.562 kB / 1.247 GB, free: 196.7 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/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) Reference file matches