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.001749/0.001749, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.0022/0.0022, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.414/1.414, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.833/2.833, allocations: 0.5003 GB / 0.8026 GB, free: 6.766 MB / 0.6387 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_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.001885/0.001885, allocations: 71.89 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9001/0.902, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2236/1.126, allocations: 168.7 MB / 1.505 GB, free: 15.5 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003456/1.129, allocations: 1.556 MB / 1.506 GB, free: 13.94 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/1.13, allocations: 15.88 kB / 1.506 GB, free: 13.93 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006288/1.13, allocations: 142.9 kB / 1.507 GB, free: 13.79 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/1.132, allocations: 485.8 kB / 1.507 GB, free: 13.31 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/1.134, allocations: 0.777 MB / 1.508 GB, free: 12.53 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001072/1.135, allocations: 0.6981 MB / 1.508 GB, free: 11.83 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004951/1.136, allocations: 232.6 kB / 1.509 GB, free: 11.61 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/1.137, allocations: 470.4 kB / 1.509 GB, free: 11.14 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/1.137, allocations: 235 kB / 1.509 GB, free: 10.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/1.137, allocations: 28 kB / 1.509 GB, free: 10.89 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/1.139, allocations: 0.9081 MB / 1.51 GB, free: 9.977 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/1.139, allocations: 119.6 kB / 1.51 GB, free: 9.859 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/1.139, allocations: 151.3 kB / 1.511 GB, free: 9.711 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/1.141, allocations: 0.7514 MB / 1.511 GB, free: 8.957 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.141, allocations: 0 / 1.511 GB, free: 8.957 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.193e-06/1.141, allocations: 0 / 1.511 GB, free: 8.957 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.83e-05/1.141, allocations: 0 / 1.511 GB, free: 8.957 MB / 1.186 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.001359/1.142, allocations: 0.6865 MB / 1.512 GB, free: 8.219 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.142, allocations: 8.031 kB / 1.512 GB, free: 8.211 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.034e-05/1.142, allocations: 12.5 kB / 1.512 GB, free: 8.199 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.756e-05/1.142, allocations: 62.47 kB / 1.512 GB, free: 8.129 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/1.143, allocations: 87.7 kB / 1.512 GB, free: 8.043 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/1.143, allocations: 318 kB / 1.512 GB, free: 7.691 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/1.143, allocations: 20.56 kB / 1.512 GB, free: 7.672 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/1.143, allocations: 24 kB / 1.512 GB, free: 7.648 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/1.144, allocations: 332.2 kB / 1.513 GB, free: 7.312 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.144, allocations: 3.938 kB / 1.513 GB, free: 7.309 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/1.144, allocations: 15.94 kB / 1.513 GB, free: 7.293 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/1.144, allocations: 7.984 kB / 1.513 GB, free: 7.285 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007663/1.145, allocations: 281.5 kB / 1.513 GB, free: 7.008 MB / 1.186 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.001843/1.147, allocations: 1.056 MB / 1.514 GB, free: 5.887 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/1.148, allocations: 315.6 kB / 1.514 GB, free: 5.551 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/1.148, allocations: 136.7 kB / 1.515 GB, free: 5.414 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/1.149, allocations: 392.3 kB / 1.515 GB, free: 4.957 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.149, allocations: 30.56 kB / 1.515 GB, free: 4.918 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/1.149, allocations: 0 / 1.515 GB, free: 4.918 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001292/1.15, allocations: 419.1 kB / 1.515 GB, free: 4.504 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/1.15, allocations: 55.41 kB / 1.515 GB, free: 4.438 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/1.151, allocations: 267 kB / 1.516 GB, free: 4.172 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/1.151, allocations: 29.7 kB / 1.516 GB, free: 4.137 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/1.151, allocations: 172.3 kB / 1.516 GB, free: 3.961 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.548e-05/1.151, allocations: 71.36 kB / 1.516 GB, free: 3.891 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/1.151, allocations: 45.7 kB / 1.516 GB, free: 3.84 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.151, allocations: 334.8 kB / 1.516 GB, free: 3.504 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/1.151, allocations: 111.8 kB / 1.516 GB, free: 3.395 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/1.152, allocations: 159.9 kB / 1.517 GB, free: 3.219 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/1.152, allocations: 271.4 kB / 1.517 GB, free: 2.938 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.152, allocations: 4 kB / 1.517 GB, free: 2.934 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008051/1.153, allocations: 313.2 kB / 1.517 GB, free: 2.621 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.153, allocations: 12.16 kB / 1.517 GB, free: 2.609 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.153, allocations: 3.938 kB / 1.517 GB, free: 2.605 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.153, allocations: 4 kB / 1.517 GB, free: 2.602 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/1.154, allocations: 59.89 kB / 1.517 GB, free: 2.543 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.154, allocations: 4 kB / 1.517 GB, free: 2.539 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/1.154, allocations: 39.81 kB / 1.517 GB, free: 2.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/1.154, allocations: 8 kB / 1.517 GB, free: 2.492 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.0001625/1.154, allocations: 149.8 kB / 1.517 GB, free: 2.336 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/1.154, allocations: 31.8 kB / 1.517 GB, free: 2.305 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/1.155, allocations: 319.4 kB / 1.518 GB, free: 1.984 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.155, allocations: 0 / 1.518 GB, free: 1.984 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.155, allocations: 4 kB / 1.518 GB, free: 1.98 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.155, allocations: 4 kB / 1.518 GB, free: 1.977 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/1.157, allocations: 0.9288 MB / 1.519 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.157, allocations: 4 kB / 1.519 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/1.157, allocations: 55.89 kB / 1.519 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.157, allocations: 0 / 1.519 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/1.157, allocations: 4 kB / 1.519 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/1.157, allocations: 8.188 kB / 1.519 GB, free: 0.875 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.157, allocations: 8 kB / 1.519 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/1.158, allocations: 0.5603 MB / 1.519 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/1.158, allocations: 140.9 kB / 1.519 GB, free: 120 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/1.158, allocations: 4.062 kB / 1.519 GB, free: 116 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/1.159, allocations: 19.98 kB / 1.519 GB, free: 96 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/1.159, allocations: 27.91 kB / 1.519 GB, free: 68 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/1.159, allocations: 4 kB / 1.519 GB, free: 64 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002477/1.159, allocations: 194 kB / 1.52 GB, free: 15.88 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.159, allocations: 0 / 1.52 GB, free: 15.88 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005757/1.16, allocations: 119.6 kB / 1.52 GB, free: 15.76 MB / 1.201 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.002049/1.162, allocations: 1.172 MB / 1.521 GB, free: 14.54 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008276/1.162, allocations: 255.6 kB / 1.521 GB, free: 14.29 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.162, allocations: 0 / 1.521 GB, free: 14.29 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000388/1.163, allocations: 140.4 kB / 1.521 GB, free: 14.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/1.164, allocations: 125.2 kB / 1.521 GB, free: 14.04 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/1.169, allocations: 2.983 MB / 1.524 GB, free: 10.91 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/1.169, allocations: 0.7792 MB / 1.525 GB, free: 10.11 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002694/1.17, allocations: 66.25 kB / 1.525 GB, free: 10.04 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/1.17, allocations: 87.52 kB / 1.525 GB, free: 9.957 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/1.17, allocations: 8 kB / 1.525 GB, free: 9.949 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/1.201, allocations: 9.037 MB / 1.534 GB, free: 1.109 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/9.64, allocations: 9.375 kB / 1.534 GB, free: 1.102 MB / 1.201 GB " [Timeout remaining time 290] (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: 15.826288368960377]