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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006155/0.006156, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.629/2.629, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 8.594 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2999, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1593/0.4593, allocations: 160.9 MB / 1.216 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003166/0.4625, allocations: 1.552 MB / 1.217 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.4629, allocations: 11.94 kB / 1.217 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.4633, allocations: 107.3 kB / 1.218 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.4645, allocations: 446.1 kB / 1.218 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.4663, allocations: 0.6846 MB / 1.219 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.4675, allocations: 0.9905 MB / 1.22 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.4679, allocations: 218.2 kB / 1.22 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.4685, allocations: 282.8 kB / 1.22 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.4688, allocations: 227 kB / 1.22 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.4689, allocations: 16 kB / 1.22 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.4705, allocations: 0.982 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.4707, allocations: 107.7 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.4709, allocations: 172.8 kB / 1.222 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.4721, allocations: 0.7634 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4721, allocations: 4 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.517e-06/0.4721, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.4721, allocations: 3.938 kB / 1.222 GB, free: 12.79 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.001216/0.4733, allocations: 0.6313 MB / 1.223 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4734, allocations: 11.97 kB / 1.223 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.886e-05/0.4735, allocations: 54.55 kB / 1.223 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005179/0.474, allocations: 87.5 kB / 1.223 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.4745, allocations: 301.8 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.4745, allocations: 24.55 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.4745, allocations: 24 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007238/0.4753, allocations: 344.2 kB / 1.224 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4753, allocations: 0 / 1.224 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.4753, allocations: 11.94 kB / 1.224 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4753, allocations: 8 kB / 1.224 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.4762, allocations: 317.5 kB / 1.224 GB, free: 10.88 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.001663/0.4778, allocations: 1.083 MB / 1.225 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/0.4788, allocations: 343.6 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.4791, allocations: 152.8 kB / 1.226 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/0.4798, allocations: 404.3 kB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.4799, allocations: 34.56 kB / 1.226 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.4799, allocations: 0 / 1.226 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001326/0.4812, allocations: 471.4 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.4812, allocations: 51.41 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.4815, allocations: 267 kB / 1.227 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.4815, allocations: 29.7 kB / 1.227 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.4817, allocations: 172.1 kB / 1.227 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.4817, allocations: 66.95 kB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.4818, allocations: 25.7 kB / 1.227 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4819, allocations: 338.8 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.4823, allocations: 119.9 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.4826, allocations: 177.9 kB / 1.228 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.4833, allocations: 298.4 kB / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4834, allocations: 7.938 kB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008287/0.4842, allocations: 341.1 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4842, allocations: 11.98 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4842, allocations: 128 / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4843, allocations: 11.94 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.4845, allocations: 55.97 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4846, allocations: 7.922 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.4849, allocations: 55.72 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.4849, allocations: 15.94 kB / 1.228 GB, free: 6.145 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.0001558/0.4851, allocations: 145.8 kB / 1.229 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.4851, allocations: 23.72 kB / 1.229 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008994/0.486, allocations: 360.9 kB / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4861, allocations: 4 kB / 1.229 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4861, allocations: 0 / 1.229 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4861, allocations: 3.984 kB / 1.229 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.4877, allocations: 0.9564 MB / 1.23 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4877, allocations: 8.188 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.488, allocations: 59.89 kB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.488, allocations: 0 / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.4881, allocations: 11.94 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.4881, allocations: 4 kB / 1.23 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4881, allocations: 0 / 1.23 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.4893, allocations: 0.6172 MB / 1.231 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.4894, allocations: 124.8 kB / 1.231 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.4895, allocations: 8 kB / 1.231 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.4898, allocations: 35.97 kB / 1.231 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.4898, allocations: 19.92 kB / 1.231 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.4899, allocations: 15.98 kB / 1.231 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001779/0.4901, allocations: 186 kB / 1.231 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4901, allocations: 0 / 1.231 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004589/0.4905, allocations: 115.8 kB / 1.231 GB, free: 3.293 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.001837/0.4924, allocations: 1.245 MB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007935/0.4932, allocations: 283.7 kB / 1.233 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4932, allocations: 0 / 1.233 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.4936, allocations: 152.1 kB / 1.233 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.4945, allocations: 137.7 kB / 1.233 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.4989, allocations: 3.162 MB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.4993, allocations: 0.783 MB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000278/0.4996, allocations: 70.22 kB / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.4997, allocations: 87.41 kB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.4997, allocations: 0 / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.5207, allocations: 8.265 MB / 1.245 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.521, allocations: 245.9 kB / 1.245 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.582, allocations: 0 / 1.245 GB, free: 4.863 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