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.001188/0.001188, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001532/0.001532, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.297/1.297, allocations: 230.6 MB / 256 MB, free: 7.789 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.934/2.934, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_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.001937/0.001937, allocations: 68.73 kB / 1.186 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3013, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1685/0.4697, allocations: 145.8 MB / 1.506 GB, free: 11.8 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.4724, allocations: 1.477 MB / 1.507 GB, free: 10.32 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.4725, allocations: 19.88 kB / 1.507 GB, free: 10.3 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.4729, allocations: 150.9 kB / 1.507 GB, free: 10.15 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.474, allocations: 473.9 kB / 1.508 GB, free: 9.688 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.4755, allocations: 0.761 MB / 1.509 GB, free: 8.926 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007598/0.4763, allocations: 0.7097 MB / 1.509 GB, free: 8.215 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.4766, allocations: 211 kB / 1.509 GB, free: 8.004 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007902/0.4774, allocations: 482.3 kB / 1.51 GB, free: 7.531 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.4777, allocations: 227 kB / 1.51 GB, free: 7.309 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.4777, allocations: 24 kB / 1.51 GB, free: 7.285 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.4788, allocations: 0.7364 MB / 1.511 GB, free: 6.547 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.4789, allocations: 111.7 kB / 1.511 GB, free: 6.438 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.4791, allocations: 135.4 kB / 1.511 GB, free: 6.305 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.48, allocations: 0.7204 MB / 1.512 GB, free: 5.582 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.48, allocations: 0 / 1.512 GB, free: 5.582 MB / 1.201 GB Notification: Performance of FrontEnd: time 6.642e-06/0.48, allocations: 4 kB / 1.512 GB, free: 5.578 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.48, allocations: 0 / 1.512 GB, free: 5.578 MB / 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.001013/0.481, allocations: 0.6056 MB / 1.512 GB, free: 4.941 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4811, allocations: 12.03 kB / 1.512 GB, free: 4.93 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.563e-05/0.4811, allocations: 58.53 kB / 1.512 GB, free: 4.863 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.4816, allocations: 91.64 kB / 1.513 GB, free: 4.773 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.482, allocations: 256.2 kB / 1.513 GB, free: 4.5 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.482, allocations: 16.5 kB / 1.513 GB, free: 4.484 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.4821, allocations: 24 kB / 1.513 GB, free: 4.461 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.4827, allocations: 357 kB / 1.513 GB, free: 4.094 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4828, allocations: 0 / 1.513 GB, free: 4.094 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.4828, allocations: 11.94 kB / 1.513 GB, free: 4.082 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4828, allocations: 4 kB / 1.513 GB, free: 4.078 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.4835, allocations: 293.5 kB / 1.513 GB, free: 3.789 MB / 1.201 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.001633/0.4851, allocations: 0.978 MB / 1.514 GB, free: 2.75 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/0.486, allocations: 234.5 kB / 1.515 GB, free: 2.512 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.4863, allocations: 124.8 kB / 1.515 GB, free: 2.387 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004977/0.4868, allocations: 83.91 kB / 1.515 GB, free: 2.305 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.4868, allocations: 42.5 kB / 1.515 GB, free: 2.254 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.4868, allocations: 8 kB / 1.515 GB, free: 2.246 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001152/0.488, allocations: 398.2 kB / 1.515 GB, free: 1.852 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.488, allocations: 59.41 kB / 1.515 GB, free: 1.781 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.4883, allocations: 268.2 kB / 1.516 GB, free: 1.516 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.4883, allocations: 33.7 kB / 1.516 GB, free: 1.477 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.4884, allocations: 176.4 kB / 1.516 GB, free: 1.301 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.4885, allocations: 71.38 kB / 1.516 GB, free: 1.23 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.4886, allocations: 45.66 kB / 1.516 GB, free: 1.18 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4887, allocations: 338.8 kB / 1.516 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.489, allocations: 103.9 kB / 1.516 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.4894, allocations: 245.1 kB / 1.517 GB, free: 472 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.49, allocations: 270.6 kB / 1.517 GB, free: 184 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.49, allocations: 0 / 1.517 GB, free: 184 kB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007373/0.4908, allocations: 319.1 kB / 1.517 GB, free: 15.86 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.4908, allocations: 7.938 kB / 1.517 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4908, allocations: 0 / 1.517 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4908, allocations: 7.938 kB / 1.517 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.4911, allocations: 59.89 kB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4911, allocations: 4 kB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.4913, allocations: 43.88 kB / 1.517 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.4913, allocations: 12.12 kB / 1.517 GB, free: 15.73 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.0001483/0.4915, allocations: 157.7 kB / 1.517 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.4915, allocations: 27.81 kB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.4923, allocations: 315.5 kB / 1.518 GB, free: 15.22 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4923, allocations: 4 kB / 1.518 GB, free: 15.22 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4923, allocations: 7.984 kB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4923, allocations: 0 / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.4938, allocations: 0.7481 MB / 1.518 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4938, allocations: 0 / 1.518 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.494, allocations: 51.95 kB / 1.519 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.494, allocations: 4 kB / 1.519 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.4941, allocations: 4 kB / 1.519 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.4941, allocations: 7.938 kB / 1.519 GB, free: 14.33 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4941, allocations: 4 kB / 1.519 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4952, allocations: 0.5538 MB / 1.519 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.4953, allocations: 51.72 kB / 1.519 GB, free: 13.69 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.4953, allocations: 8 kB / 1.519 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.4955, allocations: 23.97 kB / 1.519 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.4956, allocations: 23.91 kB / 1.519 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.4956, allocations: 12 kB / 1.519 GB, free: 13.62 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001828/0.4958, allocations: 195.1 kB / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.4958, allocations: 0 / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004/0.4962, allocations: 107.8 kB / 1.519 GB, free: 13.32 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.001603/0.4978, allocations: 1.182 MB / 1.521 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006885/0.4985, allocations: 252.3 kB / 1.521 GB, free: 11.86 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4985, allocations: 7.938 kB / 1.521 GB, free: 11.85 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.4988, allocations: 132.5 kB / 1.521 GB, free: 11.72 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.4995, allocations: 136.7 kB / 1.521 GB, free: 11.59 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.5037, allocations: 2.969 MB / 1.524 GB, free: 8.473 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.5038, allocations: 175.1 kB / 1.524 GB, free: 8.281 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.504, allocations: 62.23 kB / 1.524 GB, free: 8.219 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.5042, allocations: 91.41 kB / 1.524 GB, free: 8.129 MB / 1.217 GB Notification: Performance of SimCode: time 2.91e-07/0.5042, allocations: 0 / 1.524 GB, free: 8.129 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.5422, allocations: 10.05 MB / 1.534 GB, free: 14.34 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.98, allocations: 18.8 kB / 1.534 GB, free: 14.32 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: 16.966149345971644]