Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_9_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.001749/0.001756, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002175/0.002175, allocations: 193.2 kB / 16.26 MB, free: 6.621 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.38/1.38, 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 9.1.3-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.3 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5959, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1641/0.76, allocations: 163 MB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.7628, allocations: 1.54 MB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.7632, allocations: 7.938 kB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.7637, allocations: 119.2 kB / 1.11 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.765, allocations: 446.2 kB / 1.11 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.7668, allocations: 0.7007 MB / 1.111 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008367/0.7676, allocations: 0.7136 MB / 1.112 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.7681, allocations: 242.7 kB / 1.112 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005926/0.7687, allocations: 310.8 kB / 1.112 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.769, allocations: 247 kB / 1.113 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.769, allocations: 24 kB / 1.113 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.7704, allocations: 0.8962 MB / 1.114 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.7705, allocations: 111.7 kB / 1.114 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.7707, allocations: 159.3 kB / 1.114 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.7719, allocations: 0.7869 MB / 1.115 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.772, allocations: 0 / 1.115 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.563e-06/0.772, allocations: 0 / 1.115 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.772, allocations: 0 / 1.115 GB, free: 8.152 MB / 0.8731 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.001155/0.7731, allocations: 0.6779 MB / 1.115 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7732, allocations: 8.031 kB / 1.115 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.7733, allocations: 54.55 kB / 1.115 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.7738, allocations: 95.5 kB / 1.115 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.7742, allocations: 297.9 kB / 1.116 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.7742, allocations: 16.56 kB / 1.116 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.7743, allocations: 24 kB / 1.116 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.7749, allocations: 340.1 kB / 1.116 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.7749, allocations: 0 / 1.116 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.775, allocations: 11.94 kB / 1.116 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.775, allocations: 4 kB / 1.116 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/0.7757, allocations: 281.5 kB / 1.116 GB, free: 6.25 MB / 0.8731 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.001567/0.7773, allocations: 1.075 MB / 1.117 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.7782, allocations: 319.7 kB / 1.118 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.7785, allocations: 136.8 kB / 1.118 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006653/0.7792, allocations: 392.3 kB / 1.118 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.7792, allocations: 42.5 kB / 1.118 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.7792, allocations: 0 / 1.118 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001172/0.7804, allocations: 405.9 kB / 1.119 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.7804, allocations: 51.41 kB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.7807, allocations: 267 kB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.7807, allocations: 29.7 kB / 1.119 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.7808, allocations: 172.1 kB / 1.119 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.7809, allocations: 59.11 kB / 1.119 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-05/0.781, allocations: 49.7 kB / 1.119 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7811, allocations: 350.7 kB / 1.12 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.7814, allocations: 99.91 kB / 1.12 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.7817, allocations: 171.1 kB / 1.12 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.7823, allocations: 266.4 kB / 1.12 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7823, allocations: 4 kB / 1.12 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007148/0.783, allocations: 314.6 kB / 1.12 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7831, allocations: 10.5 kB / 1.12 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7831, allocations: 0 / 1.12 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7831, allocations: 11.92 kB / 1.12 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.7834, allocations: 51.91 kB / 1.12 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7834, allocations: 4 kB / 1.12 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.7837, allocations: 47.86 kB / 1.12 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.7837, allocations: 12 kB / 1.12 GB, free: 1.703 MB / 0.8731 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.0001405/0.7839, allocations: 149.8 kB / 1.121 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.7839, allocations: 27.62 kB / 1.121 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/0.7847, allocations: 329.4 kB / 1.121 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.7847, allocations: 0 / 1.121 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7847, allocations: 0 / 1.121 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7847, allocations: 0 / 1.121 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.7861, allocations: 0.9331 MB / 1.122 GB, free: 156 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7861, allocations: 12.03 kB / 1.122 GB, free: 144 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.7864, allocations: 47.89 kB / 1.122 GB, free: 96 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.7864, allocations: 4 kB / 1.122 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.7864, allocations: 8 kB / 1.122 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.7865, allocations: 4 kB / 1.122 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7865, allocations: 0 / 1.122 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.7875, allocations: 0.5586 MB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.7876, allocations: 128.6 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.7877, allocations: 8 kB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.788, allocations: 27.97 kB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.788, allocations: 27.92 kB / 1.123 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.7881, allocations: 8 kB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000168/0.7882, allocations: 193.9 kB / 1.123 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7882, allocations: 3.938 kB / 1.123 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004306/0.7887, allocations: 107.8 kB / 1.123 GB, free: 14.97 MB / 0.8887 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.001611/0.7903, allocations: 1.186 MB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007005/0.791, allocations: 267.7 kB / 1.124 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.791, allocations: 0 / 1.124 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.7914, allocations: 147 kB / 1.125 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.7921, allocations: 126.8 kB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.7962, allocations: 3.054 MB / 1.128 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.7965, allocations: 0.787 MB / 1.128 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002559/0.7967, allocations: 58.27 kB / 1.128 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.7969, allocations: 87.41 kB / 1.129 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of SimCode: time 1.002e-06/0.7969, allocations: 0 / 1.129 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.436/5.233, allocations: 8.614 MB / 1.137 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/5.233, allocations: 236.4 kB / 1.137 GB, free: 416 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/8.832, allocations: 0 / 1.137 GB, free: 416 kB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches