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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001064/0.001064, allocations: 192.2 kB / 16.13 MB, free: 6.691 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5646, allocations: 140.4 MB / 0.949 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1701/0.7348, allocations: 163 MB / 1.108 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.7376, allocations: 1.583 MB / 1.11 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.738, allocations: 7.938 kB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.7385, allocations: 111.3 kB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.7398, allocations: 442.2 kB / 1.11 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.7415, allocations: 0.6771 MB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009173/0.7424, allocations: 0.9944 MB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.7427, allocations: 226.1 kB / 1.112 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.7432, allocations: 274.9 kB / 1.112 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.7435, allocations: 246.9 kB / 1.113 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.7435, allocations: 16 kB / 1.113 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.7449, allocations: 0.982 MB / 1.114 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.745, allocations: 107.7 kB / 1.114 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.7452, allocations: 143.3 kB / 1.114 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.7461, allocations: 0.7713 MB / 1.115 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.7461, allocations: 7.984 kB / 1.115 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.61e-07/0.7461, allocations: 3.938 kB / 1.115 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.7462, allocations: 0 / 1.115 GB, free: 8.027 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.001076/0.7472, allocations: 0.6663 MB / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7473, allocations: 12.03 kB / 1.115 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.7474, allocations: 58.48 kB / 1.115 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004887/0.7479, allocations: 87.5 kB / 1.115 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.7482, allocations: 293.9 kB / 1.116 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.7483, allocations: 24.5 kB / 1.116 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.7483, allocations: 24 kB / 1.116 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.749, allocations: 336.2 kB / 1.116 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.749, allocations: 0 / 1.116 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.749, allocations: 11.94 kB / 1.116 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.749, allocations: 8 kB / 1.116 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/0.7498, allocations: 281.5 kB / 1.116 GB, free: 6.133 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.001549/0.7513, allocations: 1.075 MB / 1.117 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/0.7522, allocations: 327.6 kB / 1.118 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.7526, allocations: 140.8 kB / 1.118 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/0.7532, allocations: 392.3 kB / 1.118 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.7532, allocations: 30.56 kB / 1.118 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.7533, allocations: 0 / 1.118 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001175/0.7544, allocations: 414.7 kB / 1.119 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.7545, allocations: 51.41 kB / 1.119 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.7547, allocations: 267 kB / 1.119 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.7548, allocations: 29.7 kB / 1.119 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.7549, allocations: 168.1 kB / 1.119 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.7549, allocations: 67.09 kB / 1.119 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.755, allocations: 45.7 kB / 1.119 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7551, allocations: 338.8 kB / 1.12 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.7554, allocations: 103.9 kB / 1.12 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.7558, allocations: 175.5 kB / 1.12 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006004/0.7564, allocations: 266.2 kB / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7564, allocations: 0 / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000708/0.7571, allocations: 323.3 kB / 1.12 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7571, allocations: 8 kB / 1.12 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7572, allocations: 0 / 1.12 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.7572, allocations: 7.938 kB / 1.12 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.7575, allocations: 55.95 kB / 1.121 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.7575, allocations: 7.938 kB / 1.121 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.7577, allocations: 39.91 kB / 1.121 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.7578, allocations: 12 kB / 1.121 GB, free: 1.582 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.0001382/0.7579, allocations: 149.8 kB / 1.121 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.758, allocations: 27.62 kB / 1.121 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007708/0.7588, allocations: 323.6 kB / 1.121 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7588, allocations: 4 kB / 1.121 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7588, allocations: 0 / 1.121 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.7588, allocations: 8.016 kB / 1.121 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.7602, allocations: 0.9378 MB / 1.122 GB, free: 24 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7602, allocations: 0 / 1.122 GB, free: 24 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.7605, allocations: 47.97 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7605, allocations: 11.88 kB / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.7606, allocations: 4 kB / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.7606, allocations: 0 / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7606, allocations: 7.984 kB / 1.122 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.7617, allocations: 0.557 MB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.7618, allocations: 128.7 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.7619, allocations: 8 kB / 1.123 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.7621, allocations: 32.03 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.7622, allocations: 23.91 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.7623, allocations: 8 kB / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001849/0.7624, allocations: 190 kB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7625, allocations: 0 / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000453/0.7629, allocations: 107.8 kB / 1.123 GB, free: 14.86 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.00175/0.7647, allocations: 1.199 MB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006903/0.7654, allocations: 245.5 kB / 1.124 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.7654, allocations: 0 / 1.124 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.7657, allocations: 141.6 kB / 1.125 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007454/0.7665, allocations: 133 kB / 1.125 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.7704, allocations: 3.055 MB / 1.128 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.7707, allocations: 0.7792 MB / 1.128 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.771, allocations: 66.23 kB / 1.129 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.7711, allocations: 83.41 kB / 1.129 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/0.7711, allocations: 0 / 1.129 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.7904, allocations: 8.395 MB / 1.137 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.7906, allocations: 240.4 kB / 1.137 GB, free: 500 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.74, allocations: 0 / 1.137 GB, free: 500 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