Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_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.006671/0.006672, allocations: 94.86 kB / 15.73 MB, free: 6.039 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.001205/0.001205, allocations: 192.1 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.683/2.683, allocations: 469.4 MB / 0.7421 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 64.12 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2937, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.8776/1.171, allocations: 165.3 MB / 1.381 GB, free: 4.641 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003437/1.175, allocations: 1.562 MB / 1.383 GB, free: 3.559 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006646/1.176, allocations: 11.41 kB / 1.383 GB, free: 3.555 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007353/1.176, allocations: 143.3 kB / 1.383 GB, free: 3.453 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/1.178, allocations: 489.1 kB / 1.383 GB, free: 3.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/1.181, allocations: 0.764 MB / 1.384 GB, free: 2.531 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001388/1.182, allocations: 0.71 MB / 1.385 GB, free: 2.121 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000579/1.183, allocations: 257.7 kB / 1.385 GB, free: 1.973 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007837/1.184, allocations: 317.5 kB / 1.385 GB, free: 1.793 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/1.184, allocations: 235.7 kB / 1.386 GB, free: 1.648 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.941e-05/1.184, allocations: 24.75 kB / 1.386 GB, free: 1.648 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/1.186, allocations: 0.8769 MB / 1.386 GB, free: 1.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/1.186, allocations: 103.7 kB / 1.386 GB, free: 1.094 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002646/1.187, allocations: 163.1 kB / 1.387 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/1.188, allocations: 0.7378 MB / 1.387 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.188, allocations: 5.031 kB / 1.387 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.874e-06/1.189, allocations: 0 / 1.387 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.71e-05/1.189, allocations: 0 / 1.387 GB, free: 0.5469 MB / 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.001495/1.19, allocations: 0.6877 MB / 1.388 GB, free: 15.94 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.19, allocations: 9.625 kB / 1.388 GB, free: 15.94 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.695e-05/1.19, allocations: 54.73 kB / 1.388 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005815/1.191, allocations: 92.39 kB / 1.388 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/1.191, allocations: 316.4 kB / 1.388 GB, free: 15.55 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/1.191, allocations: 18.12 kB / 1.389 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/1.191, allocations: 23.66 kB / 1.389 GB, free: 15.53 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/1.192, allocations: 332 kB / 1.389 GB, free: 15.33 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.192, allocations: 0 / 1.389 GB, free: 15.33 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/1.192, allocations: 6.938 kB / 1.389 GB, free: 15.32 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/1.192, allocations: 13.81 kB / 1.389 GB, free: 15.32 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/1.193, allocations: 287.3 kB / 1.389 GB, free: 15.19 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.00192/1.195, allocations: 1.069 MB / 1.39 GB, free: 14.31 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009249/1.196, allocations: 324.8 kB / 1.39 GB, free: 14.09 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/1.196, allocations: 134.8 kB / 1.391 GB, free: 14.02 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/1.197, allocations: 393.1 kB / 1.391 GB, free: 13.62 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/1.197, allocations: 36.34 kB / 1.391 GB, free: 13.57 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.943e-06/1.197, allocations: 4 kB / 1.391 GB, free: 13.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001422/1.198, allocations: 412.6 kB / 1.391 GB, free: 13.36 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/1.199, allocations: 53.88 kB / 1.391 GB, free: 13.3 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/1.199, allocations: 269.6 kB / 1.392 GB, free: 13.12 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/1.199, allocations: 30.77 kB / 1.392 GB, free: 13.09 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/1.199, allocations: 175.2 kB / 1.392 GB, free: 12.92 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/1.199, allocations: 63.41 kB / 1.392 GB, free: 12.87 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/1.199, allocations: 47.48 kB / 1.392 GB, free: 12.83 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.199, allocations: 338.2 kB / 1.392 GB, free: 12.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/1.2, allocations: 102.3 kB / 1.392 GB, free: 12.45 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/1.2, allocations: 164.5 kB / 1.393 GB, free: 12.34 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/1.201, allocations: 276.7 kB / 1.393 GB, free: 12.17 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/1.201, allocations: 1.125 kB / 1.393 GB, free: 12.17 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008697/1.202, allocations: 318.2 kB / 1.393 GB, free: 12.01 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.202, allocations: 4.812 kB / 1.393 GB, free: 12.01 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.202, allocations: 2.281 kB / 1.393 GB, free: 12.01 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.202, allocations: 6.188 kB / 1.393 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/1.202, allocations: 57.38 kB / 1.393 GB, free: 11.99 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.202, allocations: 2.25 kB / 1.393 GB, free: 11.99 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/1.202, allocations: 48.08 kB / 1.393 GB, free: 11.96 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/1.202, allocations: 13.44 kB / 1.393 GB, free: 11.95 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.0001851/1.203, allocations: 160.5 kB / 1.393 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/1.203, allocations: 24.95 kB / 1.393 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/1.204, allocations: 319.4 kB / 1.394 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.204, allocations: 10.06 kB / 1.394 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.204, allocations: 0 / 1.394 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.204, allocations: 1.094 kB / 1.394 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/1.205, allocations: 0.9317 MB / 1.395 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.205, allocations: 2.75 kB / 1.395 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/1.206, allocations: 42.44 kB / 1.395 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.148e-05/1.206, allocations: 3.062 kB / 1.395 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/1.206, allocations: 16.86 kB / 1.395 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.206, allocations: 5.5 kB / 1.395 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.206, allocations: 2.469 kB / 1.395 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/1.207, allocations: 0.5547 MB / 1.395 GB, free: 10.4 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/1.207, allocations: 131.7 kB / 1.395 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/1.207, allocations: 9.125 kB / 1.395 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/1.207, allocations: 26.5 kB / 1.395 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/1.207, allocations: 20.92 kB / 1.395 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/1.207, allocations: 11.11 kB / 1.396 GB, free: 10.23 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002032/1.208, allocations: 192.6 kB / 1.396 GB, free: 10.1 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.3e-07/1.208, allocations: 0 / 1.396 GB, free: 10.1 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005407/1.208, allocations: 112.7 kB / 1.396 GB, free: 10.07 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.001864/1.21, allocations: 1.205 MB / 1.397 GB, free: 9.109 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0007816/1.211, allocations: 259.9 kB / 1.397 GB, free: 8.996 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.211, allocations: 0 / 1.397 GB, free: 8.996 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/1.211, allocations: 136.1 kB / 1.397 GB, free: 8.938 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/1.212, allocations: 127.6 kB / 1.397 GB, free: 8.871 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/1.217, allocations: 2.974 MB / 1.4 GB, free: 6.641 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/1.218, allocations: 0.785 MB / 1.401 GB, free: 5.895 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00026/1.218, allocations: 64.86 kB / 1.401 GB, free: 5.863 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/1.218, allocations: 88.75 kB / 1.401 GB, free: 5.797 MB / 1.092 GB Notification: Performance of SimCode: time 5.71e-07/1.218, allocations: 1.562 kB / 1.401 GB, free: 5.797 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/1.25, allocations: 8.956 MB / 1.41 GB, free: 1.332 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/9.454, allocations: 9.031 kB / 1.41 GB, free: 1.328 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches