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.005211/0.005211, allocations: 96.75 kB / 15.73 MB, free: 6.031 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.001342/0.001342, allocations: 196.4 kB / 16.68 MB, free: 5.961 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.878/2.878, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.88 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2984, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7562/1.055, allocations: 165.3 MB / 1.382 GB, free: 4.184 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002859/1.058, allocations: 1.549 MB / 1.383 GB, free: 3.109 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/1.058, allocations: 11.5 kB / 1.383 GB, free: 3.105 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004939/1.058, allocations: 141.6 kB / 1.383 GB, free: 2.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/1.06, allocations: 476.3 kB / 1.384 GB, free: 2.621 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/1.062, allocations: 0.7502 MB / 1.384 GB, free: 2.074 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001083/1.063, allocations: 0.7088 MB / 1.385 GB, free: 1.664 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/1.064, allocations: 261.2 kB / 1.385 GB, free: 1.512 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006707/1.064, allocations: 311.6 kB / 1.386 GB, free: 1.336 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004044/1.065, allocations: 227.5 kB / 1.386 GB, free: 1.199 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/1.065, allocations: 24.66 kB / 1.386 GB, free: 1.199 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/1.066, allocations: 0.8675 MB / 1.387 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001845/1.067, allocations: 110.9 kB / 1.387 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/1.067, allocations: 160 kB / 1.387 GB, free: 0.543 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/1.068, allocations: 0.7419 MB / 1.388 GB, free: 104 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.068, allocations: 4.812 kB / 1.388 GB, free: 100 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.292e-06/1.068, allocations: 0 / 1.388 GB, free: 100 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.173e-05/1.068, allocations: 0 / 1.388 GB, free: 100 kB / 1.076 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.001358/1.07, allocations: 0.6838 MB / 1.388 GB, free: 15.49 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.07, allocations: 9.688 kB / 1.388 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.13e-05/1.07, allocations: 59.39 kB / 1.388 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000546/1.07, allocations: 88.02 kB / 1.389 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/1.071, allocations: 319.5 kB / 1.389 GB, free: 15.09 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.071, allocations: 14.62 kB / 1.389 GB, free: 15.09 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/1.071, allocations: 28.2 kB / 1.389 GB, free: 15.07 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/1.072, allocations: 336 kB / 1.389 GB, free: 14.87 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.072, allocations: 0 / 1.389 GB, free: 14.87 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/1.072, allocations: 10.62 kB / 1.389 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/1.072, allocations: 10.22 kB / 1.389 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/1.072, allocations: 282.6 kB / 1.39 GB, free: 14.73 MB / 1.092 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.001795/1.074, allocations: 1.07 MB / 1.391 GB, free: 13.85 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/1.075, allocations: 323.8 kB / 1.391 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/1.076, allocations: 137.5 kB / 1.391 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007123/1.076, allocations: 391.9 kB / 1.391 GB, free: 13.16 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.076, allocations: 37.27 kB / 1.391 GB, free: 13.12 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.482e-06/1.076, allocations: 0 / 1.391 GB, free: 13.12 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001316/1.078, allocations: 413.1 kB / 1.392 GB, free: 12.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.078, allocations: 53.75 kB / 1.392 GB, free: 12.85 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/1.078, allocations: 265.6 kB / 1.392 GB, free: 12.67 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/1.078, allocations: 30.86 kB / 1.392 GB, free: 12.64 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/1.078, allocations: 175.5 kB / 1.392 GB, free: 12.47 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/1.078, allocations: 71.05 kB / 1.392 GB, free: 12.41 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/1.078, allocations: 43.11 kB / 1.392 GB, free: 12.38 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.079, allocations: 337.8 kB / 1.393 GB, free: 12.05 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/1.079, allocations: 104.1 kB / 1.393 GB, free: 12 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/1.079, allocations: 165.6 kB / 1.393 GB, free: 11.88 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/1.08, allocations: 281.2 kB / 1.393 GB, free: 11.71 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.08, allocations: 0 / 1.393 GB, free: 11.71 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008198/1.081, allocations: 316 kB / 1.394 GB, free: 11.55 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.081, allocations: 5.781 kB / 1.394 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.081, allocations: 1.156 kB / 1.394 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.081, allocations: 7.375 kB / 1.394 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/1.081, allocations: 57.05 kB / 1.394 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.081, allocations: 10.97 kB / 1.394 GB, free: 11.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/1.082, allocations: 44.47 kB / 1.394 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/1.082, allocations: 6.438 kB / 1.394 GB, free: 11.5 MB / 1.092 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.0001606/1.082, allocations: 149.1 kB / 1.394 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/1.082, allocations: 25.92 kB / 1.394 GB, free: 11.35 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000871/1.083, allocations: 318.8 kB / 1.394 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.083, allocations: 5.156 kB / 1.394 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.083, allocations: 1.312 kB / 1.394 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.083, allocations: 8.016 kB / 1.394 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/1.084, allocations: 0.9251 MB / 1.395 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.084, allocations: 10.23 kB / 1.395 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/1.085, allocations: 51.69 kB / 1.395 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.085, allocations: 2.125 kB / 1.395 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/1.085, allocations: 3.188 kB / 1.395 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.085, allocations: 3.781 kB / 1.395 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.085, allocations: 5.047 kB / 1.395 GB, free: 10.33 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.086, allocations: 0.5627 MB / 1.396 GB, free: 9.945 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/1.086, allocations: 132.6 kB / 1.396 GB, free: 9.812 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/1.086, allocations: 4.031 kB / 1.396 GB, free: 9.812 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/1.086, allocations: 23.44 kB / 1.396 GB, free: 9.801 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/1.087, allocations: 24.7 kB / 1.396 GB, free: 9.785 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/1.087, allocations: 7.125 kB / 1.396 GB, free: 9.785 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002091/1.087, allocations: 196.6 kB / 1.396 GB, free: 9.652 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.087, allocations: 0 / 1.396 GB, free: 9.652 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004778/1.087, allocations: 105.1 kB / 1.396 GB, free: 9.629 MB / 1.092 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.00191/1.089, allocations: 1.211 MB / 1.397 GB, free: 8.656 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0007625/1.09, allocations: 260.6 kB / 1.398 GB, free: 8.543 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.09, allocations: 0 / 1.398 GB, free: 8.543 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/1.09, allocations: 133 kB / 1.398 GB, free: 8.488 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/1.091, allocations: 143.5 kB / 1.398 GB, free: 8.418 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/1.096, allocations: 2.96 MB / 1.401 GB, free: 6.191 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/1.096, allocations: 0.789 MB / 1.402 GB, free: 5.441 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002409/1.096, allocations: 65.86 kB / 1.402 GB, free: 5.41 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/1.097, allocations: 89.41 kB / 1.402 GB, free: 5.344 MB / 1.092 GB Notification: Performance of SimCode: time 4.91e-07/1.097, allocations: 0 / 1.402 GB, free: 5.344 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/1.13, allocations: 8.948 MB / 1.41 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/9.371, allocations: 2.781 kB / 1.41 GB, free: 0.8906 MB / 1.092 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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.csv","/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