Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_11_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.001488/0.001488, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.62/2.62, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 69.98 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2794, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1742/0.4536, allocations: 165.3 MB / 1.225 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.4565, allocations: 1.544 MB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.4567, allocations: 11.94 kB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.4572, allocations: 146.9 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.4583, allocations: 465.8 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.46, allocations: 0.7581 MB / 1.228 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007408/0.4607, allocations: 0.7098 MB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.4611, allocations: 253.6 kB / 1.229 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.4616, allocations: 310.8 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.4619, allocations: 231.1 kB / 1.23 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.4619, allocations: 27.94 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.4633, allocations: 0.8613 MB / 1.231 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.4634, allocations: 111.7 kB / 1.231 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.4636, allocations: 163.2 kB / 1.231 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009702/0.4646, allocations: 0.7325 MB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4646, allocations: 4 kB / 1.232 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4646, allocations: 0 / 1.232 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.4646, allocations: 0 / 1.232 GB, free: 2.004 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.001049/0.4657, allocations: 0.6663 MB / 1.232 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.4657, allocations: 12.03 kB / 1.232 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.412e-05/0.4658, allocations: 58.53 kB / 1.232 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004659/0.4663, allocations: 79.52 kB / 1.232 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.4667, allocations: 309.8 kB / 1.233 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.4667, allocations: 20.56 kB / 1.233 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.4668, allocations: 24 kB / 1.233 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.4674, allocations: 336.2 kB / 1.233 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4674, allocations: 0 / 1.233 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.4675, allocations: 11.94 kB / 1.233 GB, free: 404 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4675, allocations: 8 kB / 1.233 GB, free: 396 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.4682, allocations: 285.5 kB / 1.233 GB, free: 108 kB / 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.001633/0.4698, allocations: 1.071 MB / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.4707, allocations: 327.6 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.471, allocations: 132.8 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006616/0.4717, allocations: 392.3 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.4718, allocations: 34.56 kB / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.4718, allocations: 4 kB / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001168/0.4729, allocations: 410.8 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.473, allocations: 55.41 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.4733, allocations: 263 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.4733, allocations: 33.7 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4734, allocations: 172.1 kB / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.4735, allocations: 70.95 kB / 1.236 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.4736, allocations: 45.7 kB / 1.236 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4737, allocations: 334.8 kB / 1.237 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.474, allocations: 103.9 kB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.4744, allocations: 161.9 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.475, allocations: 274.9 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4751, allocations: 0 / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007236/0.4758, allocations: 313.1 kB / 1.237 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4758, allocations: 5.406 kB / 1.237 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4758, allocations: 0 / 1.237 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4758, allocations: 7.938 kB / 1.237 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.4761, allocations: 67.98 kB / 1.237 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4761, allocations: 4 kB / 1.237 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.4764, allocations: 35.72 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.4764, allocations: 12 kB / 1.238 GB, free: 11.57 MB / 0.9981 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.0001438/0.4765, allocations: 154.3 kB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.4766, allocations: 23.72 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/0.4774, allocations: 321.1 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.4774, allocations: 4 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4774, allocations: 0 / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4774, allocations: 0 / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.4789, allocations: 0.9338 MB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4789, allocations: 0 / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.4792, allocations: 55.91 kB / 1.239 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4792, allocations: 4 kB / 1.239 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.4792, allocations: 11.98 kB / 1.239 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4792, allocations: 0 / 1.239 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4792, allocations: 7.984 kB / 1.239 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.4803, allocations: 0.5605 MB / 1.24 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.4805, allocations: 124.8 kB / 1.24 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.4805, allocations: 8 kB / 1.24 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.4807, allocations: 23.97 kB / 1.24 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.4808, allocations: 23.98 kB / 1.24 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.4808, allocations: 11.98 kB / 1.24 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001805/0.481, allocations: 190 kB / 1.24 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.481, allocations: 0 / 1.24 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004093/0.4814, allocations: 111.8 kB / 1.24 GB, free: 8.855 MB / 0.9981 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.001715/0.4832, allocations: 1.192 MB / 1.241 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007177/0.4839, allocations: 271.6 kB / 1.241 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4839, allocations: 4 kB / 1.241 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.4843, allocations: 140.5 kB / 1.242 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.485, allocations: 122.6 kB / 1.242 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.4892, allocations: 2.976 MB / 1.245 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.4896, allocations: 0.787 MB / 1.245 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000237/0.4898, allocations: 66.19 kB / 1.245 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.4899, allocations: 91.41 kB / 1.246 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.49, allocations: 0 / 1.246 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.549/2.039, allocations: 8.847 MB / 1.254 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/14.35, allocations: 7 kB / 1.254 GB, free: 188.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches