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.001289/0.001289, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001512/0.001512, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.925/2.925, allocations: 476.8 MB / 0.7715 GB, free: 3.953 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_11_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.002076/0.002076, allocations: 66.42 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3132, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1865/0.4997, allocations: 145.6 MB / 1.426 GB, free: 8.555 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.5029, allocations: 1.474 MB / 1.428 GB, free: 7.078 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004476/0.5033, allocations: 19.88 kB / 1.428 GB, free: 7.059 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.5039, allocations: 154.9 kB / 1.428 GB, free: 6.906 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.5054, allocations: 469.9 kB / 1.428 GB, free: 6.445 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.5076, allocations: 0.773 MB / 1.429 GB, free: 5.672 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.5087, allocations: 0.7176 MB / 1.43 GB, free: 4.949 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.5092, allocations: 203 kB / 1.43 GB, free: 4.75 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.51, allocations: 326.8 kB / 1.43 GB, free: 4.43 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.5104, allocations: 243 kB / 1.431 GB, free: 4.191 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.5104, allocations: 24 kB / 1.431 GB, free: 4.168 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.5123, allocations: 0.7598 MB / 1.431 GB, free: 3.406 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.5125, allocations: 115.6 kB / 1.431 GB, free: 3.293 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.5127, allocations: 139.4 kB / 1.432 GB, free: 3.156 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.5142, allocations: 0.7237 MB / 1.432 GB, free: 2.434 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.5142, allocations: 0 / 1.432 GB, free: 2.434 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.926e-06/0.5142, allocations: 4 kB / 1.432 GB, free: 2.43 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5142, allocations: 0 / 1.432 GB, free: 2.43 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.001369/0.5155, allocations: 0.6095 MB / 1.433 GB, free: 1.789 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5156, allocations: 8.031 kB / 1.433 GB, free: 1.781 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.112e-05/0.5156, allocations: 8.5 kB / 1.433 GB, free: 1.773 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.387e-05/0.5157, allocations: 58.48 kB / 1.433 GB, free: 1.707 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.5162, allocations: 87.73 kB / 1.433 GB, free: 1.621 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.5168, allocations: 256.1 kB / 1.433 GB, free: 1.344 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.5168, allocations: 16.5 kB / 1.433 GB, free: 1.328 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.5169, allocations: 24 kB / 1.433 GB, free: 1.305 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.5176, allocations: 361 kB / 1.434 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5176, allocations: 0 / 1.434 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.5177, allocations: 19.92 kB / 1.434 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.5177, allocations: 4 kB / 1.434 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.5184, allocations: 285.5 kB / 1.434 GB, free: 0.6289 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.001751/0.5202, allocations: 0.978 MB / 1.435 GB, free: 15.59 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/0.5211, allocations: 226.6 kB / 1.435 GB, free: 15.36 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.5214, allocations: 140.8 kB / 1.435 GB, free: 15.22 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/0.522, allocations: 83.91 kB / 1.435 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.522, allocations: 42.44 kB / 1.435 GB, free: 15.09 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 2.345e-06/0.522, allocations: 0 / 1.435 GB, free: 15.09 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.001278/0.5233, allocations: 403.4 kB / 1.436 GB, free: 14.69 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.5233, allocations: 59.39 kB / 1.436 GB, free: 14.62 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.5237, allocations: 276.2 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.5237, allocations: 29.7 kB / 1.436 GB, free: 14.31 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.5238, allocations: 172.4 kB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.5239, allocations: 71.38 kB / 1.436 GB, free: 14.07 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.524, allocations: 41.7 kB / 1.436 GB, free: 14.02 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.5242, allocations: 338.8 kB / 1.437 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.5245, allocations: 103.9 kB / 1.437 GB, free: 13.58 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.525, allocations: 245.4 kB / 1.437 GB, free: 13.3 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.5256, allocations: 266.7 kB / 1.437 GB, free: 13.02 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5256, allocations: 0 / 1.437 GB, free: 13.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008591/0.5265, allocations: 313.2 kB / 1.438 GB, free: 12.71 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5265, allocations: 8.156 kB / 1.438 GB, free: 12.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5265, allocations: 7.938 kB / 1.438 GB, free: 12.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.5265, allocations: 0 / 1.438 GB, free: 12.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.5268, allocations: 63.89 kB / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.5268, allocations: 0 / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.5271, allocations: 43.75 kB / 1.438 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.5271, allocations: 8 kB / 1.438 GB, free: 12.58 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.0002108/0.5274, allocations: 157.8 kB / 1.438 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.5274, allocations: 27.81 kB / 1.438 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/0.5283, allocations: 317.8 kB / 1.438 GB, free: 12.07 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5283, allocations: 4 kB / 1.438 GB, free: 12.07 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5284, allocations: 0 / 1.438 GB, free: 12.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5284, allocations: 0 / 1.438 GB, free: 12.07 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.5301, allocations: 0.753 MB / 1.439 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5301, allocations: 4.031 kB / 1.439 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.5304, allocations: 47.91 kB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.5304, allocations: 4 kB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.5305, allocations: 8 kB / 1.439 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.578e-05/0.5305, allocations: 3.984 kB / 1.439 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5305, allocations: 4 kB / 1.439 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.5317, allocations: 0.5626 MB / 1.44 GB, free: 10.58 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5318, allocations: 47.8 kB / 1.44 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.5319, allocations: 12 kB / 1.44 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.5321, allocations: 23.97 kB / 1.44 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.5322, allocations: 35.84 kB / 1.44 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.5322, allocations: 4 kB / 1.44 GB, free: 10.46 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002075/0.5324, allocations: 195.1 kB / 1.44 GB, free: 10.27 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5324, allocations: 3.938 kB / 1.44 GB, free: 10.27 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005126/0.5329, allocations: 111.8 kB / 1.44 GB, free: 10.16 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.001992/0.5349, allocations: 1.183 MB / 1.441 GB, free: 8.938 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0007994/0.5357, allocations: 249.9 kB / 1.441 GB, free: 8.695 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5357, allocations: 0 / 1.441 GB, free: 8.695 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.5361, allocations: 135.8 kB / 1.441 GB, free: 8.562 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/0.5369, allocations: 137.3 kB / 1.442 GB, free: 8.426 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/0.5423, allocations: 2.969 MB / 1.445 GB, free: 5.301 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.5425, allocations: 166.8 kB / 1.445 GB, free: 5.117 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.5428, allocations: 66.23 kB / 1.445 GB, free: 5.055 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.543, allocations: 91.41 kB / 1.445 GB, free: 4.969 MB / 1.139 GB Notification: Performance of SimCode: time 7.21e-07/0.543, allocations: 3.938 kB / 1.445 GB, free: 4.965 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.583, allocations: 9.715 MB / 1.454 GB, free: 11.56 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.74, allocations: 10.34 kB / 1.454 GB, free: 11.55 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.60989285109099]