Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001667/0.001667, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00217/0.00217, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.606/1.606, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity",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.002142/0.002142, allocations: 66.47 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3677, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2012/0.5688, allocations: 145.7 MB / 1.425 GB, free: 10.23 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003629/0.5725, allocations: 1.48 MB / 1.426 GB, free: 8.75 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.5729, allocations: 15.88 kB / 1.426 GB, free: 8.734 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.5736, allocations: 154.9 kB / 1.426 GB, free: 8.582 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.5751, allocations: 465.9 kB / 1.427 GB, free: 8.125 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.5775, allocations: 0.7765 MB / 1.428 GB, free: 7.352 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.5785, allocations: 0.7214 MB / 1.428 GB, free: 6.625 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.5789, allocations: 209.8 kB / 1.429 GB, free: 6.422 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.5795, allocations: 318.9 kB / 1.429 GB, free: 6.109 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.5799, allocations: 231 kB / 1.429 GB, free: 5.883 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.5799, allocations: 24 kB / 1.429 GB, free: 5.859 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.5814, allocations: 0.7403 MB / 1.43 GB, free: 5.117 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.5816, allocations: 127.6 kB / 1.43 GB, free: 4.992 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.5818, allocations: 127.4 kB / 1.43 GB, free: 4.867 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.5829, allocations: 0.726 MB / 1.431 GB, free: 4.141 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5829, allocations: 0 / 1.431 GB, free: 4.141 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5829, allocations: 0 / 1.431 GB, free: 4.141 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.583, allocations: 0 / 1.431 GB, free: 4.141 MB / 1.123 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.001247/0.5842, allocations: 0.6173 MB / 1.431 GB, free: 3.492 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5842, allocations: 8.031 kB / 1.431 GB, free: 3.484 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.468e-05/0.5843, allocations: 62.55 kB / 1.431 GB, free: 3.414 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005196/0.5849, allocations: 87.69 kB / 1.432 GB, free: 3.328 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.5854, allocations: 252.1 kB / 1.432 GB, free: 3.059 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.5854, allocations: 20.5 kB / 1.432 GB, free: 3.035 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.5854, allocations: 24 kB / 1.432 GB, free: 3.012 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/0.5862, allocations: 353.1 kB / 1.432 GB, free: 2.652 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5862, allocations: 0 / 1.432 GB, free: 2.652 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.5863, allocations: 7.938 kB / 1.432 GB, free: 2.645 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.5863, allocations: 8 kB / 1.432 GB, free: 2.637 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/0.587, allocations: 289.5 kB / 1.432 GB, free: 2.355 MB / 1.123 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.00189/0.5889, allocations: 0.978 MB / 1.433 GB, free: 1.32 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009088/0.5898, allocations: 234.5 kB / 1.434 GB, free: 1.082 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.5902, allocations: 128.8 kB / 1.434 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.5907, allocations: 83.89 kB / 1.434 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.5908, allocations: 42.56 kB / 1.434 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/0.5908, allocations: 0 / 1.434 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.00132/0.5921, allocations: 414.8 kB / 1.434 GB, free: 420 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.5922, allocations: 51.41 kB / 1.434 GB, free: 356 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.5925, allocations: 272.2 kB / 1.435 GB, free: 72 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.5925, allocations: 33.64 kB / 1.435 GB, free: 32 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.5927, allocations: 172.4 kB / 1.435 GB, free: 15.86 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.5927, allocations: 75.33 kB / 1.435 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.5929, allocations: 45.7 kB / 1.435 GB, free: 15.73 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.593, allocations: 334.8 kB / 1.435 GB, free: 15.4 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.5933, allocations: 103.9 kB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.5938, allocations: 243 kB / 1.436 GB, free: 15.02 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.5945, allocations: 271.1 kB / 1.436 GB, free: 14.74 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.5945, allocations: 0 / 1.436 GB, free: 14.74 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008184/0.5953, allocations: 321.2 kB / 1.436 GB, free: 14.42 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5953, allocations: 8 kB / 1.436 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5953, allocations: 3.984 kB / 1.436 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5953, allocations: 7.938 kB / 1.436 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.5956, allocations: 59.89 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5956, allocations: 0 / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.5959, allocations: 39.98 kB / 1.436 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.5959, allocations: 8 kB / 1.436 GB, free: 14.29 MB / 1.139 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.0001924/0.5961, allocations: 153.8 kB / 1.436 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.5962, allocations: 27.81 kB / 1.436 GB, free: 14.11 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/0.5971, allocations: 325.4 kB / 1.437 GB, free: 13.78 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5971, allocations: 4 kB / 1.437 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5971, allocations: 64 / 1.437 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5971, allocations: 8 kB / 1.437 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.5987, allocations: 0.7403 MB / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5987, allocations: 0 / 1.437 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.599, allocations: 55.89 kB / 1.438 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.599, allocations: 4 kB / 1.438 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.599, allocations: 4 kB / 1.438 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.599, allocations: 0 / 1.438 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.599, allocations: 4 kB / 1.438 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.6002, allocations: 0.5627 MB / 1.438 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.6003, allocations: 47.8 kB / 1.438 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.6004, allocations: 7.984 kB / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.6006, allocations: 27.98 kB / 1.438 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.6007, allocations: 23.91 kB / 1.438 GB, free: 12.19 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.6007, allocations: 8 kB / 1.438 GB, free: 12.18 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002073/0.6009, allocations: 195.1 kB / 1.438 GB, free: 11.99 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.6009, allocations: 0 / 1.438 GB, free: 11.99 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00049/0.6014, allocations: 107.8 kB / 1.438 GB, free: 11.89 MB / 1.139 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.001829/0.6033, allocations: 1.191 MB / 1.44 GB, free: 10.65 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000776/0.604, allocations: 243.7 kB / 1.44 GB, free: 10.41 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.604, allocations: 0 / 1.44 GB, free: 10.41 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.6044, allocations: 136.5 kB / 1.44 GB, free: 10.28 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008144/0.6052, allocations: 134.8 kB / 1.44 GB, free: 10.15 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.6102, allocations: 2.977 MB / 1.443 GB, free: 7.02 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.6104, allocations: 166.8 kB / 1.443 GB, free: 6.836 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.6106, allocations: 66.23 kB / 1.443 GB, free: 6.773 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.6108, allocations: 87.41 kB / 1.443 GB, free: 6.691 MB / 1.139 GB Notification: Performance of SimCode: time 1.693e-06/0.6108, allocations: 0 / 1.443 GB, free: 6.691 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.6574, allocations: 10.06 MB / 1.453 GB, free: 12.91 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.33, allocations: 14.31 kB / 1.453 GB, free: 12.9 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.290954116731882]