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.001618/0.001618, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001841/0.001841, allocations: 201.3 kB / 16.14 MB, free: 6.801 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.497/2.497, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 63.62 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2912, allocations: 157.4 MB / 1.052 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1545/0.4457, allocations: 163 MB / 1.211 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.4486, allocations: 1.574 MB / 1.213 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.449, allocations: 7.938 kB / 1.213 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.4495, allocations: 111.3 kB / 1.213 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.4507, allocations: 442.2 kB / 1.213 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.4527, allocations: 0.6806 MB / 1.214 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.4538, allocations: 0.9945 MB / 1.215 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.4543, allocations: 218.2 kB / 1.215 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005882/0.4549, allocations: 290.9 kB / 1.216 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.4552, allocations: 235 kB / 1.216 GB, free: 100 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.4553, allocations: 16 kB / 1.216 GB, free: 84 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.4569, allocations: 0.9936 MB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.457, allocations: 103.7 kB / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.4573, allocations: 151.2 kB / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.4584, allocations: 0.7752 MB / 1.218 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4584, allocations: 4 kB / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.02e-07/0.4584, allocations: 0 / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.4584, allocations: 0 / 1.218 GB, free: 14.05 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.001129/0.4596, allocations: 0.6663 MB / 1.218 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4596, allocations: 15.97 kB / 1.218 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.01e-05/0.4597, allocations: 62.55 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.4602, allocations: 83.5 kB / 1.219 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4606, allocations: 301.8 kB / 1.219 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4606, allocations: 20.56 kB / 1.219 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.4607, allocations: 24 kB / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.4613, allocations: 332.2 kB / 1.219 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.4613, allocations: 0 / 1.219 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.4614, allocations: 15.94 kB / 1.219 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4614, allocations: 4 kB / 1.219 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/0.4621, allocations: 289.5 kB / 1.22 GB, free: 12.15 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.00159/0.4637, allocations: 1.063 MB / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.4646, allocations: 331.6 kB / 1.221 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.4649, allocations: 132.8 kB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006652/0.4656, allocations: 392.3 kB / 1.221 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.354e-05/0.4657, allocations: 34.56 kB / 1.221 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.4657, allocations: 0 / 1.221 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001173/0.4669, allocations: 414.2 kB / 1.222 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.4669, allocations: 55.41 kB / 1.222 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.4672, allocations: 267 kB / 1.222 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4672, allocations: 29.7 kB / 1.222 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4673, allocations: 168.2 kB / 1.222 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.4674, allocations: 74.92 kB / 1.222 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.4675, allocations: 45.72 kB / 1.222 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4676, allocations: 338.8 kB / 1.223 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.4679, allocations: 103.9 kB / 1.223 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.4683, allocations: 161.9 kB / 1.223 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.4689, allocations: 275.4 kB / 1.223 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4689, allocations: 0 / 1.223 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007476/0.4697, allocations: 314.5 kB / 1.224 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4697, allocations: 5.562 kB / 1.224 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4697, allocations: 3.984 kB / 1.224 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4697, allocations: 7.938 kB / 1.224 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.47, allocations: 51.91 kB / 1.224 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.47, allocations: 7.938 kB / 1.224 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.4703, allocations: 51.83 kB / 1.224 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.4703, allocations: 8 kB / 1.224 GB, free: 7.617 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.0001474/0.4705, allocations: 149.8 kB / 1.224 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.4706, allocations: 23.72 kB / 1.224 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/0.4713, allocations: 323.5 kB / 1.224 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4713, allocations: 0 / 1.224 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4713, allocations: 48 / 1.224 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4714, allocations: 7.984 kB / 1.224 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.4728, allocations: 0.933 MB / 1.225 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4729, allocations: 4.062 kB / 1.225 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.4731, allocations: 59.83 kB / 1.225 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4731, allocations: 0 / 1.225 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.4731, allocations: 8 kB / 1.225 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.4732, allocations: 4 kB / 1.225 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4732, allocations: 0 / 1.225 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.4743, allocations: 0.5643 MB / 1.226 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.4744, allocations: 128.7 kB / 1.226 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.4745, allocations: 4 kB / 1.226 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.4747, allocations: 23.97 kB / 1.226 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.4748, allocations: 23.98 kB / 1.226 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.4749, allocations: 11.98 kB / 1.226 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001564/0.475, allocations: 194 kB / 1.226 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.475, allocations: 0 / 1.226 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004181/0.4754, allocations: 107.8 kB / 1.226 GB, free: 4.891 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.001707/0.4772, allocations: 1.191 MB / 1.227 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006533/0.4778, allocations: 255.6 kB / 1.228 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4778, allocations: 3.938 kB / 1.228 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.4782, allocations: 136.5 kB / 1.228 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.4789, allocations: 132.8 kB / 1.228 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.483, allocations: 3.048 MB / 1.231 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.4834, allocations: 0.7791 MB / 1.232 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002439/0.4836, allocations: 66.23 kB / 1.232 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.4838, allocations: 87.41 kB / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.4838, allocations: 4 kB / 1.232 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4388/0.9226, allocations: 8.393 MB / 1.24 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/0.923, allocations: 252.2 kB / 1.24 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/3.038, allocations: 3.938 kB / 1.24 GB, free: 6.52 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