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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004874/0.004874, allocations: 102.8 kB / 15.74 MB, free: 6.043 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.001283/0.001283, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.421/1.421, 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 12.0.0-master/package.mo): time 2.887/2.887, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 71.89 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3179, allocations: 162.2 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7496/1.068, allocations: 165.3 MB / 1.403 GB, free: 10.27 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003046/1.071, allocations: 1.555 MB / 1.404 GB, free: 9.016 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/1.071, allocations: 13.66 kB / 1.404 GB, free: 9.008 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005067/1.072, allocations: 146.7 kB / 1.405 GB, free: 8.879 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/1.073, allocations: 471.4 kB / 1.405 GB, free: 8.523 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/1.075, allocations: 0.7442 MB / 1.406 GB, free: 7.977 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001017/1.076, allocations: 0.7008 MB / 1.406 GB, free: 7.574 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004958/1.077, allocations: 261.7 kB / 1.407 GB, free: 7.422 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/1.078, allocations: 464.5 kB / 1.407 GB, free: 7.145 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/1.078, allocations: 217.9 kB / 1.407 GB, free: 7.016 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/1.078, allocations: 25.12 kB / 1.407 GB, free: 7.016 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/1.08, allocations: 0.8621 MB / 1.408 GB, free: 6.539 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/1.08, allocations: 115.3 kB / 1.408 GB, free: 6.461 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/1.08, allocations: 156.5 kB / 1.408 GB, free: 6.363 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/1.082, allocations: 0.7409 MB / 1.409 GB, free: 5.922 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.082, allocations: 1.469 kB / 1.409 GB, free: 5.922 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.834e-06/1.082, allocations: 0 / 1.409 GB, free: 5.922 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.305e-05/1.082, allocations: 0 / 1.409 GB, free: 5.922 MB / 1.107 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.00145/1.083, allocations: 0.6905 MB / 1.41 GB, free: 5.312 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/1.083, allocations: 10.34 kB / 1.41 GB, free: 5.312 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.787e-05/1.084, allocations: 58.27 kB / 1.41 GB, free: 5.254 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/1.084, allocations: 85.2 kB / 1.41 GB, free: 5.215 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/1.085, allocations: 323.7 kB / 1.41 GB, free: 4.91 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/1.085, allocations: 18.88 kB / 1.41 GB, free: 4.902 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/1.085, allocations: 19.88 kB / 1.41 GB, free: 4.898 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/1.085, allocations: 336 kB / 1.411 GB, free: 4.691 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.085, allocations: 0 / 1.411 GB, free: 4.691 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/1.085, allocations: 10.69 kB / 1.411 GB, free: 4.684 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.086, allocations: 9.188 kB / 1.411 GB, free: 4.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/1.086, allocations: 287.1 kB / 1.411 GB, free: 4.547 MB / 1.107 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.001883/1.088, allocations: 1.062 MB / 1.412 GB, free: 3.676 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009726/1.089, allocations: 324.2 kB / 1.412 GB, free: 3.457 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/1.09, allocations: 134 kB / 1.412 GB, free: 3.391 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007435/1.09, allocations: 397.2 kB / 1.413 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.09, allocations: 35.7 kB / 1.413 GB, free: 2.938 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/1.09, allocations: 0 / 1.413 GB, free: 2.938 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001322/1.092, allocations: 413.2 kB / 1.413 GB, free: 2.73 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.092, allocations: 53.84 kB / 1.413 GB, free: 2.668 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/1.092, allocations: 265.6 kB / 1.414 GB, free: 2.484 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/1.092, allocations: 31.14 kB / 1.414 GB, free: 2.449 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/1.092, allocations: 178.9 kB / 1.414 GB, free: 2.285 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/1.092, allocations: 63.47 kB / 1.414 GB, free: 2.23 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/1.092, allocations: 48.36 kB / 1.414 GB, free: 2.195 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.093, allocations: 336.7 kB / 1.414 GB, free: 1.863 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/1.093, allocations: 103.5 kB / 1.414 GB, free: 1.816 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/1.093, allocations: 167.8 kB / 1.414 GB, free: 1.699 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/1.094, allocations: 272.5 kB / 1.415 GB, free: 1.535 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.094, allocations: 1.25 kB / 1.415 GB, free: 1.535 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008511/1.095, allocations: 315.2 kB / 1.415 GB, free: 1.371 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.095, allocations: 6.75 kB / 1.415 GB, free: 1.371 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.095, allocations: 1.125 kB / 1.415 GB, free: 1.371 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.095, allocations: 6.125 kB / 1.415 GB, free: 1.367 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/1.095, allocations: 60.95 kB / 1.415 GB, free: 1.348 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/1.095, allocations: 3.5 kB / 1.415 GB, free: 1.348 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/1.096, allocations: 48.44 kB / 1.415 GB, free: 1.316 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/1.096, allocations: 7.031 kB / 1.415 GB, free: 1.316 MB / 1.107 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.0001743/1.096, allocations: 160.3 kB / 1.415 GB, free: 1.168 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/1.096, allocations: 25.48 kB / 1.415 GB, free: 1.156 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008615/1.097, allocations: 316.7 kB / 1.416 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/1.097, allocations: 6.062 kB / 1.416 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.097, allocations: 0 / 1.416 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/1.097, allocations: 5.109 kB / 1.416 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/1.098, allocations: 0.9211 MB / 1.416 GB, free: 188 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.098, allocations: 9.203 kB / 1.417 GB, free: 180 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.099, allocations: 51.78 kB / 1.417 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.099, allocations: 2.781 kB / 1.417 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/1.099, allocations: 3.688 kB / 1.417 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.099, allocations: 2.781 kB / 1.417 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.099, allocations: 1.25 kB / 1.417 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.1, allocations: 0.5681 MB / 1.417 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/1.1, allocations: 133.5 kB / 1.417 GB, free: 15.63 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/1.1, allocations: 2.469 kB / 1.417 GB, free: 15.63 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/1.101, allocations: 23.69 kB / 1.417 GB, free: 15.62 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/1.101, allocations: 24.98 kB / 1.417 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/1.101, allocations: 11.47 kB / 1.417 GB, free: 15.6 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000196/1.101, allocations: 195.4 kB / 1.417 GB, free: 15.47 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.41e-07/1.101, allocations: 1.375 kB / 1.417 GB, free: 15.47 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004891/1.101, allocations: 103.5 kB / 1.418 GB, free: 15.45 MB / 1.123 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.001917/1.103, allocations: 1.204 MB / 1.419 GB, free: 14.48 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007963/1.104, allocations: 263.2 kB / 1.419 GB, free: 14.37 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.104, allocations: 0 / 1.419 GB, free: 14.37 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/1.105, allocations: 140.4 kB / 1.419 GB, free: 14.3 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/1.105, allocations: 134 kB / 1.419 GB, free: 14.24 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/1.11, allocations: 2.968 MB / 1.422 GB, free: 12.02 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/1.11, allocations: 0.7906 MB / 1.423 GB, free: 11.27 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002468/1.111, allocations: 68.11 kB / 1.423 GB, free: 11.23 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/1.111, allocations: 89.31 kB / 1.423 GB, free: 11.16 MB / 1.123 GB Notification: Performance of SimCode: time 4.31e-07/1.111, allocations: 0 / 1.423 GB, free: 11.16 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/1.145, allocations: 8.947 MB / 1.432 GB, free: 4.309 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/9.376, allocations: 6.125 kB / 1.432 GB, free: 4.305 MB / 1.123 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 400 --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