Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_10_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.001228/0.001228, 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.001203/0.001204, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437.1 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 59.91 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.571, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1709/0.7419, allocations: 165.3 MB / 1.179 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.7445, allocations: 1.565 MB / 1.18 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.7447, allocations: 11.94 kB / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.7451, allocations: 142.9 kB / 1.18 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009778/0.7461, allocations: 465.8 kB / 1.181 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.7476, allocations: 0.7583 MB / 1.182 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006158/0.7482, allocations: 0.702 MB / 1.182 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.7486, allocations: 266.6 kB / 1.183 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.749, allocations: 306.8 kB / 1.183 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.7493, allocations: 227.1 kB / 1.183 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.536e-05/0.7493, allocations: 24 kB / 1.183 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.7506, allocations: 0.8652 MB / 1.184 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.7508, allocations: 115.7 kB / 1.184 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.7509, allocations: 151.3 kB / 1.184 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009665/0.7519, allocations: 0.7364 MB / 1.185 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7519, allocations: 0 / 1.185 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7519, allocations: 0 / 1.185 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.7519, allocations: 0 / 1.185 GB, free: 6.234 MB / 0.9356 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.001058/0.753, allocations: 0.6797 MB / 1.186 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7531, allocations: 8.031 kB / 1.186 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.548e-05/0.7531, allocations: 58.53 kB / 1.186 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004686/0.7536, allocations: 87.5 kB / 1.186 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.754, allocations: 297.9 kB / 1.186 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.754, allocations: 20.56 kB / 1.186 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.7541, allocations: 24 kB / 1.186 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.7547, allocations: 336.2 kB / 1.186 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.7547, allocations: 0 / 1.186 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.7548, allocations: 7.938 kB / 1.186 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.7548, allocations: 8 kB / 1.186 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.7555, allocations: 293.4 kB / 1.187 GB, free: 4.328 MB / 0.9356 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.001533/0.757, allocations: 1.071 MB / 1.188 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008784/0.7579, allocations: 323.6 kB / 1.188 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.7583, allocations: 140.7 kB / 1.188 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/0.759, allocations: 400.3 kB / 1.189 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.759, allocations: 38.56 kB / 1.189 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.759, allocations: 0 / 1.189 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001169/0.7602, allocations: 402.2 kB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.7603, allocations: 59.34 kB / 1.189 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.7605, allocations: 266.9 kB / 1.189 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.7605, allocations: 33.7 kB / 1.189 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.7607, allocations: 164.2 kB / 1.189 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.7607, allocations: 63.11 kB / 1.19 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.7608, allocations: 53.61 kB / 1.19 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7609, allocations: 334.8 kB / 1.19 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.7612, allocations: 99.91 kB / 1.19 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.7616, allocations: 165.9 kB / 1.19 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006027/0.7622, allocations: 274.6 kB / 1.19 GB, free: 240 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7622, allocations: 0 / 1.19 GB, free: 240 kB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007409/0.763, allocations: 313.1 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.763, allocations: 4 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.763, allocations: 4 kB / 1.191 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.763, allocations: 3.938 kB / 1.191 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.7633, allocations: 59.89 kB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7633, allocations: 0 / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.7635, allocations: 47.81 kB / 1.191 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.7636, allocations: 12 kB / 1.191 GB, free: 15.79 MB / 0.9512 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.0001436/0.7637, allocations: 153.8 kB / 1.191 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.7638, allocations: 23.72 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007753/0.7646, allocations: 329.6 kB / 1.191 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7646, allocations: 4 kB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7646, allocations: 0 / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7646, allocations: 0 / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.7661, allocations: 0.9331 MB / 1.192 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7661, allocations: 4.031 kB / 1.192 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.7664, allocations: 47.95 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.7664, allocations: 7.938 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.7664, allocations: 8 kB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.7664, allocations: 3.938 kB / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.7665, allocations: 4 kB / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.7676, allocations: 0.5563 MB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.7677, allocations: 132.6 kB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.7677, allocations: 11.94 kB / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.768, allocations: 23.97 kB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.7681, allocations: 27.97 kB / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.7681, allocations: 8 kB / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000168/0.7683, allocations: 190 kB / 1.193 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7683, allocations: 0 / 1.193 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004452/0.7687, allocations: 107.8 kB / 1.193 GB, free: 13.07 MB / 0.9512 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.001742/0.7705, allocations: 1.177 MB / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007767/0.7713, allocations: 270 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7713, allocations: 0 / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.7716, allocations: 140.5 kB / 1.195 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.7724, allocations: 134.7 kB / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.7769, allocations: 2.965 MB / 1.198 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.7774, allocations: 0.787 MB / 1.199 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.7777, allocations: 62.23 kB / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.7779, allocations: 91.41 kB / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.7779, allocations: 0 / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.8078, allocations: 8.854 MB / 1.207 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.496, allocations: 19.78 kB / 1.207 GB, free: 14.54 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches