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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.031/3.031, allocations: 497.2 MB / 0.7811 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.92 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3651, allocations: 173.9 MB / 1.304 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2003/0.5654, allocations: 165.8 MB / 1.466 GB, free: 11.03 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003013/0.5685, allocations: 1.56 MB / 1.467 GB, free: 9.465 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.5687, allocations: 7.938 kB / 1.467 GB, free: 9.457 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.5692, allocations: 154.9 kB / 1.468 GB, free: 9.305 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.5704, allocations: 481.8 kB / 1.468 GB, free: 8.832 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.5723, allocations: 0.7707 MB / 1.469 GB, free: 8.062 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008772/0.5732, allocations: 0.6942 MB / 1.469 GB, free: 7.367 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.5736, allocations: 234.7 kB / 1.47 GB, free: 7.137 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009105/0.5745, allocations: 470.3 kB / 1.47 GB, free: 6.676 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.5748, allocations: 239 kB / 1.47 GB, free: 6.441 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.5748, allocations: 31.94 kB / 1.47 GB, free: 6.41 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.5763, allocations: 0.9002 MB / 1.471 GB, free: 5.508 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.5765, allocations: 115.7 kB / 1.471 GB, free: 5.395 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.5766, allocations: 159.2 kB / 1.472 GB, free: 5.238 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.5779, allocations: 0.7437 MB / 1.472 GB, free: 4.492 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5779, allocations: 0 / 1.472 GB, free: 4.492 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5779, allocations: 0 / 1.472 GB, free: 4.492 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.5779, allocations: 0 / 1.472 GB, free: 4.492 MB / 1.17 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.001197/0.5791, allocations: 0.6887 MB / 1.473 GB, free: 3.754 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5791, allocations: 12.62 kB / 1.473 GB, free: 3.742 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.189e-05/0.5792, allocations: 58.55 kB / 1.473 GB, free: 3.676 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005122/0.5797, allocations: 87.67 kB / 1.473 GB, free: 3.59 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.5802, allocations: 314.1 kB / 1.473 GB, free: 3.242 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.5802, allocations: 20.56 kB / 1.473 GB, free: 3.223 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.5803, allocations: 24 kB / 1.473 GB, free: 3.199 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.581, allocations: 336.1 kB / 1.474 GB, free: 2.855 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.581, allocations: 0 / 1.474 GB, free: 2.855 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.581, allocations: 15.94 kB / 1.474 GB, free: 2.84 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.581, allocations: 4 kB / 1.474 GB, free: 2.836 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/0.5817, allocations: 285.5 kB / 1.474 GB, free: 2.555 MB / 1.17 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.00175/0.5835, allocations: 1.056 MB / 1.475 GB, free: 1.434 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.5844, allocations: 319.6 kB / 1.475 GB, free: 1.094 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.5847, allocations: 124.8 kB / 1.476 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/0.5854, allocations: 396.3 kB / 1.476 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5855, allocations: 34.56 kB / 1.476 GB, free: 476 kB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.5855, allocations: 0 / 1.476 GB, free: 476 kB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001185/0.5866, allocations: 410.4 kB / 1.476 GB, free: 60 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.5867, allocations: 59.28 kB / 1.476 GB, free: 15.99 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.587, allocations: 278.8 kB / 1.477 GB, free: 15.7 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.587, allocations: 29.7 kB / 1.477 GB, free: 15.67 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.5872, allocations: 168.4 kB / 1.477 GB, free: 15.5 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.5872, allocations: 71.38 kB / 1.477 GB, free: 15.43 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.101e-05/0.5873, allocations: 49.7 kB / 1.477 GB, free: 15.38 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5875, allocations: 330.8 kB / 1.477 GB, free: 15.04 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.5878, allocations: 103.9 kB / 1.477 GB, free: 14.94 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.5881, allocations: 162.7 kB / 1.478 GB, free: 14.76 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.5888, allocations: 274.4 kB / 1.478 GB, free: 14.48 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5888, allocations: 0 / 1.478 GB, free: 14.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007493/0.5895, allocations: 314.8 kB / 1.478 GB, free: 14.16 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5895, allocations: 8 kB / 1.478 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5895, allocations: 0 / 1.478 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.5896, allocations: 7.938 kB / 1.478 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.5898, allocations: 60.05 kB / 1.478 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.5898, allocations: 4 kB / 1.478 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.5901, allocations: 39.81 kB / 1.478 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.5901, allocations: 12 kB / 1.478 GB, free: 14.04 MB / 1.186 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.000178/0.5903, allocations: 145.8 kB / 1.478 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.5904, allocations: 35.8 kB / 1.478 GB, free: 13.85 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008153/0.5912, allocations: 328.2 kB / 1.479 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/0.5912, allocations: 8.031 kB / 1.479 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5912, allocations: 0 / 1.479 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5912, allocations: 3.984 kB / 1.479 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.5929, allocations: 0.9292 MB / 1.48 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5929, allocations: 0 / 1.48 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.5931, allocations: 47.95 kB / 1.48 GB, free: 12.42 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5931, allocations: 4 kB / 1.48 GB, free: 12.42 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.5932, allocations: 4 kB / 1.48 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5932, allocations: 4 kB / 1.48 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5932, allocations: 7.938 kB / 1.48 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.5943, allocations: 0.5643 MB / 1.48 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.5945, allocations: 124.9 kB / 1.48 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.5945, allocations: 8 kB / 1.48 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.5947, allocations: 15.97 kB / 1.48 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.5948, allocations: 31.92 kB / 1.48 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.5948, allocations: 8 kB / 1.48 GB, free: 11.6 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000207/0.595, allocations: 193.9 kB / 1.481 GB, free: 11.41 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.595, allocations: 0 / 1.481 GB, free: 11.41 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004533/0.5955, allocations: 111.7 kB / 1.481 GB, free: 11.3 MB / 1.186 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.001893/0.5974, allocations: 1.195 MB / 1.482 GB, free: 10.07 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007332/0.5981, allocations: 247.7 kB / 1.482 GB, free: 9.832 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5981, allocations: 0 / 1.482 GB, free: 9.832 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.5985, allocations: 144.5 kB / 1.482 GB, free: 9.691 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.5992, allocations: 132.7 kB / 1.482 GB, free: 9.566 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.6038, allocations: 2.975 MB / 1.485 GB, free: 6.449 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.6042, allocations: 0.7831 MB / 1.486 GB, free: 5.641 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002477/0.6045, allocations: 66.23 kB / 1.486 GB, free: 5.574 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.6046, allocations: 91.39 kB / 1.486 GB, free: 5.484 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/0.6046, allocations: 0 / 1.486 GB, free: 5.484 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.6424, allocations: 8.996 MB / 1.495 GB, free: 12.67 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/9.194, allocations: 2.344 kB / 1.495 GB, free: 12.67 MB / 1.201 GB " [Timeout remaining time 291] (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_2/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: 15.536864953115582]