Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 212.3 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.015/3.015, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 65.16 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2966, allocations: 176.1 MB / 1.325 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.183/0.4796, allocations: 145.8 MB / 1.467 GB, free: 15.99 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003304/0.4829, allocations: 1.462 MB / 1.469 GB, free: 14.53 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005146/0.4834, allocations: 15.88 kB / 1.469 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.484, allocations: 154.8 kB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.4855, allocations: 473.9 kB / 1.469 GB, free: 13.9 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.4877, allocations: 0.7624 MB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.4887, allocations: 0.7135 MB / 1.471 GB, free: 12.42 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003934/0.4891, allocations: 203.2 kB / 1.471 GB, free: 12.21 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4901, allocations: 486.2 kB / 1.472 GB, free: 11.74 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.4905, allocations: 223 kB / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.4905, allocations: 32 kB / 1.472 GB, free: 11.49 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.492, allocations: 0.7286 MB / 1.473 GB, free: 10.76 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.4921, allocations: 111.7 kB / 1.473 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.4923, allocations: 135.4 kB / 1.473 GB, free: 10.52 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.4935, allocations: 0.7281 MB / 1.473 GB, free: 9.785 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4935, allocations: 0 / 1.473 GB, free: 9.785 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4935, allocations: 0 / 1.473 GB, free: 9.785 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4935, allocations: 0 / 1.473 GB, free: 9.785 MB / 1.17 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.00119/0.4947, allocations: 0.6134 MB / 1.474 GB, free: 9.141 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4947, allocations: 8.031 kB / 1.474 GB, free: 9.133 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.037e-05/0.4948, allocations: 62.53 kB / 1.474 GB, free: 9.062 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.4953, allocations: 83.66 kB / 1.474 GB, free: 8.98 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.4957, allocations: 252.2 kB / 1.474 GB, free: 8.703 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.4958, allocations: 16.5 kB / 1.474 GB, free: 8.688 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.4958, allocations: 27.98 kB / 1.475 GB, free: 8.66 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.4965, allocations: 357.1 kB / 1.475 GB, free: 8.293 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4965, allocations: 4 kB / 1.475 GB, free: 8.289 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.4966, allocations: 11.94 kB / 1.475 GB, free: 8.277 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4966, allocations: 11.94 kB / 1.475 GB, free: 8.266 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.4973, allocations: 281.5 kB / 1.475 GB, free: 7.992 MB / 1.17 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.001714/0.499, allocations: 0.9819 MB / 1.476 GB, free: 6.949 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008567/0.4998, allocations: 230.5 kB / 1.476 GB, free: 6.715 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.5002, allocations: 132.8 kB / 1.476 GB, free: 6.582 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/0.5007, allocations: 83.91 kB / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.5007, allocations: 34.56 kB / 1.477 GB, free: 6.457 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 2.354e-06/0.5007, allocations: 0 / 1.477 GB, free: 6.457 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001281/0.502, allocations: 414.6 kB / 1.477 GB, free: 6.047 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.5021, allocations: 55.41 kB / 1.477 GB, free: 5.98 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.5024, allocations: 272.2 kB / 1.477 GB, free: 5.707 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.5024, allocations: 25.7 kB / 1.477 GB, free: 5.676 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.5026, allocations: 172.4 kB / 1.477 GB, free: 5.504 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.5027, allocations: 75.34 kB / 1.478 GB, free: 5.43 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.5027, allocations: 41.7 kB / 1.478 GB, free: 5.383 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5029, allocations: 342.8 kB / 1.478 GB, free: 5.039 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.5032, allocations: 103.9 kB / 1.478 GB, free: 4.938 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.5036, allocations: 237.5 kB / 1.478 GB, free: 4.668 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.5043, allocations: 278.4 kB / 1.478 GB, free: 4.379 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5043, allocations: 4.062 kB / 1.478 GB, free: 4.375 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000757/0.505, allocations: 325.1 kB / 1.479 GB, free: 4.051 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5051, allocations: 4 kB / 1.479 GB, free: 4.047 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5051, allocations: 7.984 kB / 1.479 GB, free: 4.039 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.5051, allocations: 3.938 kB / 1.479 GB, free: 4.035 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.5054, allocations: 56.11 kB / 1.479 GB, free: 3.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5054, allocations: 7.938 kB / 1.479 GB, free: 3.973 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.5056, allocations: 43.75 kB / 1.479 GB, free: 3.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.5057, allocations: 8 kB / 1.479 GB, free: 3.922 MB / 1.17 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.0001827/0.5059, allocations: 153.8 kB / 1.479 GB, free: 3.762 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.5059, allocations: 23.86 kB / 1.479 GB, free: 3.738 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007852/0.5067, allocations: 324.8 kB / 1.479 GB, free: 3.414 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5067, allocations: 0 / 1.479 GB, free: 3.414 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5067, allocations: 0 / 1.479 GB, free: 3.414 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5067, allocations: 8.016 kB / 1.479 GB, free: 3.406 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.5083, allocations: 0.7481 MB / 1.48 GB, free: 2.59 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5083, allocations: 0 / 1.48 GB, free: 2.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.5085, allocations: 47.91 kB / 1.48 GB, free: 2.543 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.5085, allocations: 7.984 kB / 1.48 GB, free: 2.535 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.5086, allocations: 12.19 kB / 1.48 GB, free: 2.523 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5086, allocations: 0 / 1.48 GB, free: 2.523 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5086, allocations: 4 kB / 1.48 GB, free: 2.52 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.5097, allocations: 0.5664 MB / 1.481 GB, free: 1.922 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.5098, allocations: 55.75 kB / 1.481 GB, free: 1.867 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.5099, allocations: 8 kB / 1.481 GB, free: 1.859 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.5101, allocations: 23.97 kB / 1.481 GB, free: 1.836 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.5102, allocations: 23.91 kB / 1.481 GB, free: 1.812 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.5102, allocations: 4 kB / 1.481 GB, free: 1.809 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001909/0.5104, allocations: 195.1 kB / 1.481 GB, free: 1.617 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5104, allocations: 0 / 1.481 GB, free: 1.617 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004676/0.5109, allocations: 111.8 kB / 1.481 GB, free: 1.508 MB / 1.17 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.001665/0.5125, allocations: 1.184 MB / 1.482 GB, free: 288 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007175/0.5132, allocations: 255.6 kB / 1.483 GB, free: 32 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5132, allocations: 0 / 1.483 GB, free: 32 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.5136, allocations: 128.3 kB / 1.483 GB, free: 15.9 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.5144, allocations: 141.1 kB / 1.483 GB, free: 15.77 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.5189, allocations: 2.971 MB / 1.486 GB, free: 12.65 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.5191, allocations: 174.8 kB / 1.486 GB, free: 12.46 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002658/0.5194, allocations: 66.25 kB / 1.486 GB, free: 12.39 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.5195, allocations: 87.41 kB / 1.486 GB, free: 12.31 MB / 1.186 GB Notification: Performance of SimCode: time 7.91e-07/0.5195, allocations: 0 / 1.486 GB, free: 12.31 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/0.5607, allocations: 10.04 MB / 1.496 GB, free: 2.535 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.61, allocations: 9.609 kB / 1.496 GB, free: 2.527 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable relHum.port_a.m_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable relHum.port_a.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! Error: Could not read variable senRelHum.phi in file Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable senRelHum.phi from file Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.93261458724737]