Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.001497/0.001497, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001656/0.001656, allocations: 216 kB / 23.04 MB, free: 5.078 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 179] 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 2.911/2.911, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] 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.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="cs",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.00186/0.00186, allocations: 71.16 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2926, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1862/0.4788, allocations: 168.9 MB / 1.51 GB, free: 6.906 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.4818, allocations: 1.554 MB / 1.512 GB, free: 5.348 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.482, allocations: 19.81 kB / 1.512 GB, free: 5.328 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.4824, allocations: 142.9 kB / 1.512 GB, free: 5.188 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.4835, allocations: 497.8 kB / 1.512 GB, free: 4.699 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.4853, allocations: 0.7922 MB / 1.513 GB, free: 3.906 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.4861, allocations: 0.7214 MB / 1.514 GB, free: 3.18 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.4864, allocations: 211.1 kB / 1.514 GB, free: 2.969 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008293/0.4872, allocations: 482.2 kB / 1.515 GB, free: 2.496 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.4875, allocations: 239.1 kB / 1.515 GB, free: 2.262 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.4876, allocations: 24 kB / 1.515 GB, free: 2.238 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.489, allocations: 0.9275 MB / 1.516 GB, free: 1.309 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.4891, allocations: 115.6 kB / 1.516 GB, free: 1.195 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.4893, allocations: 155.3 kB / 1.516 GB, free: 1.043 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009957/0.4903, allocations: 0.7438 MB / 1.517 GB, free: 304 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4903, allocations: 0 / 1.517 GB, free: 304 kB / 1.201 GB Notification: Performance of FrontEnd: time 3.317e-06/0.4903, allocations: 3.984 kB / 1.517 GB, free: 300 kB / 1.201 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4903, allocations: 3.938 kB / 1.517 GB, free: 296 kB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001066/0.4913, allocations: 0.6134 MB / 1.517 GB, free: 15.64 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.4914, allocations: 8.031 kB / 1.517 GB, free: 15.64 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.318e-05/0.4914, allocations: 4.5 kB / 1.517 GB, free: 15.63 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.2e-05/0.4914, allocations: 66.48 kB / 1.517 GB, free: 15.56 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004442/0.4919, allocations: 87.7 kB / 1.517 GB, free: 15.47 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.4923, allocations: 248.1 kB / 1.518 GB, free: 15.2 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.4923, allocations: 24.5 kB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.4924, allocations: 27.94 kB / 1.518 GB, free: 15.15 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/0.493, allocations: 323.4 kB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.493, allocations: 0 / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.4931, allocations: 11.94 kB / 1.518 GB, free: 14.8 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4931, allocations: 8 kB / 1.518 GB, free: 14.8 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006966/0.4938, allocations: 289.5 kB / 1.518 GB, free: 14.52 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.4954, allocations: 1.033 MB / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/0.4963, allocations: 238.5 kB / 1.52 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.4966, allocations: 124.8 kB / 1.52 GB, free: 13.06 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/0.4971, allocations: 91.89 kB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4971, allocations: 30.56 kB / 1.52 GB, free: 12.93 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.4971, allocations: 0 / 1.52 GB, free: 12.93 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.001159/0.4983, allocations: 410.7 kB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.4983, allocations: 59.34 kB / 1.52 GB, free: 12.45 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.4986, allocations: 268.2 kB / 1.521 GB, free: 12.18 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.4986, allocations: 29.7 kB / 1.521 GB, free: 12.15 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.4987, allocations: 176.4 kB / 1.521 GB, free: 11.97 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.4988, allocations: 67.42 kB / 1.521 GB, free: 11.91 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.4989, allocations: 41.7 kB / 1.521 GB, free: 11.86 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.499, allocations: 338.8 kB / 1.521 GB, free: 11.52 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.4993, allocations: 107.9 kB / 1.521 GB, free: 11.41 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.4997, allocations: 157.9 kB / 1.521 GB, free: 11.24 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.5003, allocations: 275.5 kB / 1.522 GB, free: 10.95 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5003, allocations: 3.938 kB / 1.522 GB, free: 10.95 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007244/0.501, allocations: 313.2 kB / 1.522 GB, free: 10.64 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.501, allocations: 9.562 kB / 1.522 GB, free: 10.63 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.501, allocations: 7.938 kB / 1.522 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5011, allocations: 7.938 kB / 1.522 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.5013, allocations: 55.95 kB / 1.522 GB, free: 10.56 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5013, allocations: 4 kB / 1.522 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.5015, allocations: 43.81 kB / 1.522 GB, free: 10.51 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.5016, allocations: 12 kB / 1.522 GB, free: 10.5 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001561/0.5017, allocations: 154.4 kB / 1.522 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.5018, allocations: 27.86 kB / 1.522 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.5026, allocations: 329 kB / 1.523 GB, free: 9.984 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5026, allocations: 0 / 1.523 GB, free: 9.984 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5026, allocations: 0 / 1.523 GB, free: 9.984 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5026, allocations: 8 kB / 1.523 GB, free: 9.977 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5041, allocations: 0.8203 MB / 1.523 GB, free: 9.078 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5041, allocations: 3.984 kB / 1.523 GB, free: 9.074 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.5044, allocations: 47.97 kB / 1.523 GB, free: 9.027 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5044, allocations: 4 kB / 1.523 GB, free: 9.023 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.5044, allocations: 4 kB / 1.523 GB, free: 9.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.5044, allocations: 8.125 kB / 1.523 GB, free: 9.012 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/0.5044, allocations: 7.984 kB / 1.523 GB, free: 9.004 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5055, allocations: 0.5603 MB / 1.524 GB, free: 8.41 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5056, allocations: 55.75 kB / 1.524 GB, free: 8.355 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.5057, allocations: 4.062 kB / 1.524 GB, free: 8.352 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.5059, allocations: 31.91 kB / 1.524 GB, free: 8.32 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.5059, allocations: 23.91 kB / 1.524 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.506, allocations: 4 kB / 1.524 GB, free: 8.293 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001832/0.5061, allocations: 195.1 kB / 1.524 GB, free: 8.105 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5061, allocations: 0 / 1.524 GB, free: 8.105 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004329/0.5066, allocations: 111.8 kB / 1.524 GB, free: 7.996 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.001705/0.5083, allocations: 1.184 MB / 1.526 GB, free: 6.77 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007185/0.509, allocations: 251.6 kB / 1.526 GB, free: 6.523 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.509, allocations: 3.938 kB / 1.526 GB, free: 6.52 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.5094, allocations: 136.5 kB / 1.526 GB, free: 6.387 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/0.5101, allocations: 131.7 kB / 1.526 GB, free: 6.258 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.5145, allocations: 2.975 MB / 1.529 GB, free: 3.145 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.515, allocations: 0.7753 MB / 1.53 GB, free: 2.344 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.5152, allocations: 62.25 kB / 1.53 GB, free: 2.277 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.5154, allocations: 91.41 kB / 1.53 GB, free: 2.188 MB / 1.217 GB Notification: Performance of SimCode: time 4.91e-07/0.5154, allocations: 0 / 1.53 GB, free: 2.188 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03326/0.5486, allocations: 9.255 MB / 1.539 GB, free: 9.156 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.14, allocations: 10.12 kB / 1.539 GB, free: 9.148 MB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.211747889989056]