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.001525/0.001525, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001962/0.001962, allocations: 217 kB / 22.25 MB, free: 5.082 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 8.016 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.86/2.86, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.002135/0.002135, allocations: 68.91 kB / 1.117 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3495, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.207/0.5565, allocations: 168.9 MB / 1.448 GB, free: 2.102 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.5598, allocations: 1.562 MB / 1.45 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.5602, allocations: 11.88 kB / 1.45 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.5608, allocations: 154.9 kB / 1.45 GB, free: 380 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.5623, allocations: 490 kB / 1.45 GB, free: 15.89 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.5644, allocations: 0.7957 MB / 1.451 GB, free: 15.09 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.5655, allocations: 0.7213 MB / 1.452 GB, free: 14.37 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004782/0.566, allocations: 210.6 kB / 1.452 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007654/0.5668, allocations: 326.8 kB / 1.452 GB, free: 13.84 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.5672, allocations: 243 kB / 1.453 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.5673, allocations: 24 kB / 1.453 GB, free: 13.58 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.5693, allocations: 0.9353 MB / 1.454 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.5695, allocations: 115.6 kB / 1.454 GB, free: 12.53 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.5697, allocations: 163.1 kB / 1.454 GB, free: 12.37 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.5715, allocations: 0.7443 MB / 1.455 GB, free: 11.62 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.5715, allocations: 4 kB / 1.455 GB, free: 11.62 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5715, allocations: 0 / 1.455 GB, free: 11.62 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.5715, allocations: 0 / 1.455 GB, free: 11.62 MB / 1.154 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.001409/0.5729, allocations: 0.6095 MB / 1.455 GB, free: 10.98 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5729, allocations: 12.03 kB / 1.455 GB, free: 10.97 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.744e-05/0.573, allocations: 62.55 kB / 1.455 GB, free: 10.9 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005754/0.5736, allocations: 83.69 kB / 1.455 GB, free: 10.82 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.5742, allocations: 260.1 kB / 1.456 GB, free: 10.54 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.5742, allocations: 16.5 kB / 1.456 GB, free: 10.52 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.5743, allocations: 24 kB / 1.456 GB, free: 10.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.575, allocations: 335.3 kB / 1.456 GB, free: 10.16 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.575, allocations: 4 kB / 1.456 GB, free: 10.16 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.5751, allocations: 11.94 kB / 1.456 GB, free: 10.14 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5751, allocations: 4 kB / 1.456 GB, free: 10.14 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.5758, allocations: 277.5 kB / 1.456 GB, free: 9.871 MB / 1.154 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.001951/0.5778, allocations: 1.036 MB / 1.457 GB, free: 8.777 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009082/0.5787, allocations: 232.1 kB / 1.457 GB, free: 8.543 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.579, allocations: 136.8 kB / 1.458 GB, free: 8.406 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/0.5796, allocations: 87.89 kB / 1.458 GB, free: 8.32 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.5796, allocations: 38.5 kB / 1.458 GB, free: 8.273 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.5796, allocations: 0 / 1.458 GB, free: 8.273 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001329/0.581, allocations: 411.2 kB / 1.458 GB, free: 7.867 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.581, allocations: 55.41 kB / 1.458 GB, free: 7.801 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.5814, allocations: 268.2 kB / 1.458 GB, free: 7.531 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.5814, allocations: 33.64 kB / 1.458 GB, free: 7.492 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.5816, allocations: 168.4 kB / 1.459 GB, free: 7.324 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.5816, allocations: 71.38 kB / 1.459 GB, free: 7.254 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.5817, allocations: 41.72 kB / 1.459 GB, free: 7.207 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.5819, allocations: 342.8 kB / 1.459 GB, free: 6.863 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.5822, allocations: 103.9 kB / 1.459 GB, free: 6.762 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.5826, allocations: 168.5 kB / 1.459 GB, free: 6.578 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.5832, allocations: 268.9 kB / 1.46 GB, free: 6.297 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5832, allocations: 0 / 1.46 GB, free: 6.297 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000766/0.584, allocations: 323.6 kB / 1.46 GB, free: 5.977 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.584, allocations: 4 kB / 1.46 GB, free: 5.973 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.584, allocations: 3.984 kB / 1.46 GB, free: 5.969 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.5841, allocations: 7.938 kB / 1.46 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.5843, allocations: 51.91 kB / 1.46 GB, free: 5.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.5843, allocations: 4 kB / 1.46 GB, free: 5.906 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.5846, allocations: 43.92 kB / 1.46 GB, free: 5.863 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.5846, allocations: 15.97 kB / 1.46 GB, free: 5.848 MB / 1.154 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.0001813/0.5848, allocations: 153.8 kB / 1.46 GB, free: 5.688 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.5849, allocations: 27.81 kB / 1.46 GB, free: 5.66 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008361/0.5857, allocations: 319.4 kB / 1.46 GB, free: 5.336 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.5857, allocations: 4 kB / 1.46 GB, free: 5.332 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5857, allocations: 0 / 1.46 GB, free: 5.332 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5857, allocations: 64 / 1.46 GB, free: 5.332 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.5874, allocations: 0.8306 MB / 1.461 GB, free: 4.422 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.5874, allocations: 4 kB / 1.461 GB, free: 4.418 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.5877, allocations: 44.09 kB / 1.461 GB, free: 4.375 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5877, allocations: 8 kB / 1.461 GB, free: 4.367 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.5877, allocations: 11.98 kB / 1.461 GB, free: 4.355 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5877, allocations: 4 kB / 1.461 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5877, allocations: 0 / 1.461 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.5888, allocations: 0.5641 MB / 1.462 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.589, allocations: 47.77 kB / 1.462 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.589, allocations: 4 kB / 1.462 GB, free: 3.703 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.5893, allocations: 23.91 kB / 1.462 GB, free: 3.68 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.5893, allocations: 27.84 kB / 1.462 GB, free: 3.652 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.5893, allocations: 12 kB / 1.462 GB, free: 3.641 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001969/0.5895, allocations: 187.1 kB / 1.462 GB, free: 3.461 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5895, allocations: 4.062 kB / 1.462 GB, free: 3.457 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005178/0.5901, allocations: 115.8 kB / 1.462 GB, free: 3.344 MB / 1.154 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.001784/0.5918, allocations: 1.192 MB / 1.463 GB, free: 2.113 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007381/0.5926, allocations: 247.9 kB / 1.464 GB, free: 1.871 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5926, allocations: 4.062 kB / 1.464 GB, free: 1.867 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.5929, allocations: 135.8 kB / 1.464 GB, free: 1.734 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.5937, allocations: 131.9 kB / 1.464 GB, free: 1.605 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.5986, allocations: 2.979 MB / 1.467 GB, free: 14.48 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.5991, allocations: 0.7792 MB / 1.468 GB, free: 13.67 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.5994, allocations: 62.27 kB / 1.468 GB, free: 13.61 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.5995, allocations: 87.41 kB / 1.468 GB, free: 13.53 MB / 1.17 GB Notification: Performance of SimCode: time 6.01e-07/0.5995, allocations: 7.938 kB / 1.468 GB, free: 13.52 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04313/0.6427, allocations: 9.21 MB / 1.477 GB, free: 4.527 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.22, allocations: 7.859 kB / 1.477 GB, free: 4.523 MB / 1.17 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: 18.9756293061655]