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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 192.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.399/2.399, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 68.39 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3195, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1676/0.4872, allocations: 163 MB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.4899, allocations: 1.547 MB / 1.213 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.4902, allocations: 11.94 kB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.4906, allocations: 119.3 kB / 1.213 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.4917, allocations: 434.2 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.4934, allocations: 0.6964 MB / 1.214 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000804/0.4942, allocations: 0.7059 MB / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.4946, allocations: 250.7 kB / 1.215 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.4951, allocations: 314.8 kB / 1.216 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.4953, allocations: 235.1 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.4954, allocations: 31.94 kB / 1.216 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.4967, allocations: 0.8924 MB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.4968, allocations: 111.6 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.497, allocations: 163.2 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000973/0.498, allocations: 0.7831 MB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.498, allocations: 0 / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.498, allocations: 4 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.498, allocations: 0 / 1.218 GB, free: 14.74 MB / 0.9825 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.001115/0.4991, allocations: 0.6701 MB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4992, allocations: 12.62 kB / 1.218 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.487e-05/0.4992, allocations: 54.55 kB / 1.218 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/0.4997, allocations: 87.5 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.5002, allocations: 301.9 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.5002, allocations: 16.56 kB / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.5002, allocations: 24 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.5009, allocations: 332.2 kB / 1.219 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5009, allocations: 7.938 kB / 1.219 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.501, allocations: 15.92 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.501, allocations: 8 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.5017, allocations: 281.5 kB / 1.219 GB, free: 12.84 MB / 0.9825 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.001584/0.5033, allocations: 1.067 MB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.5042, allocations: 331.6 kB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.5046, allocations: 132.8 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006984/0.5053, allocations: 392.3 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.5053, allocations: 34.56 kB / 1.221 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.5053, allocations: 4 kB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001207/0.5066, allocations: 407.9 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.5066, allocations: 55.41 kB / 1.222 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.5068, allocations: 267 kB / 1.222 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.5069, allocations: 33.7 kB / 1.222 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.507, allocations: 168.2 kB / 1.222 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.5071, allocations: 74.94 kB / 1.222 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.5072, allocations: 41.7 kB / 1.222 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5073, allocations: 338.8 kB / 1.223 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.5076, allocations: 103.9 kB / 1.223 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.5079, allocations: 160.5 kB / 1.223 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.5086, allocations: 278.8 kB / 1.223 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5086, allocations: 0 / 1.223 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007245/0.5093, allocations: 313.2 kB / 1.224 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5093, allocations: 5.406 kB / 1.224 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5094, allocations: 4.062 kB / 1.224 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5094, allocations: 7.938 kB / 1.224 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.5097, allocations: 63.89 kB / 1.224 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5097, allocations: 0 / 1.224 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.5099, allocations: 51.77 kB / 1.224 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.51, allocations: 8 kB / 1.224 GB, free: 8.301 MB / 0.9825 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.0001482/0.5101, allocations: 145.8 kB / 1.224 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.5102, allocations: 27.72 kB / 1.224 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/0.511, allocations: 325.6 kB / 1.224 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.511, allocations: 4 kB / 1.224 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.511, allocations: 0 / 1.224 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.511, allocations: 0 / 1.224 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.5125, allocations: 0.929 MB / 1.225 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5126, allocations: 0 / 1.225 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.5128, allocations: 60.08 kB / 1.225 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5128, allocations: 4 kB / 1.225 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.5129, allocations: 0 / 1.225 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.5129, allocations: 7.938 kB / 1.225 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5129, allocations: 7.938 kB / 1.225 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.514, allocations: 0.5546 MB / 1.226 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.5141, allocations: 128.8 kB / 1.226 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.5141, allocations: 7.984 kB / 1.226 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.5144, allocations: 27.91 kB / 1.226 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.5145, allocations: 23.98 kB / 1.226 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.5145, allocations: 8 kB / 1.226 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001704/0.5147, allocations: 197.9 kB / 1.226 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5147, allocations: 0 / 1.226 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004269/0.5151, allocations: 103.8 kB / 1.226 GB, free: 5.586 MB / 0.9825 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.001724/0.5168, allocations: 1.206 MB / 1.227 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007289/0.5176, allocations: 269.5 kB / 1.228 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5176, allocations: 0 / 1.228 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.5179, allocations: 135.9 kB / 1.228 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/0.5187, allocations: 138.1 kB / 1.228 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.5231, allocations: 3.054 MB / 1.231 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.5235, allocations: 0.7792 MB / 1.232 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00028/0.5238, allocations: 62.25 kB / 1.232 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.5239, allocations: 91.34 kB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of SimCode: time 1.893e-06/0.524, allocations: 0 / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.072/2.596, allocations: 8.611 MB / 1.24 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.004103/2.6, allocations: 257.1 kB / 1.24 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.162/6.763, allocations: 0 / 1.24 GB, free: 6.992 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) 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) Reference file matches