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.001251/0.001251, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001393/0.001393, allocations: 221.4 kB / 22.25 MB, free: 5.094 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.816 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.058/3.058, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.001956/0.001956, allocations: 72.39 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1745/0.5019, allocations: 145.7 MB / 1.468 GB, free: 15.17 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.5047, allocations: 1.476 MB / 1.47 GB, free: 13.7 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.5049, allocations: 15.88 kB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.5054, allocations: 146.9 kB / 1.47 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.5065, allocations: 477.9 kB / 1.47 GB, free: 13.07 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.5082, allocations: 0.778 MB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.509, allocations: 0.7137 MB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.5093, allocations: 211.1 kB / 1.472 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008368/0.5102, allocations: 486.2 kB / 1.472 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.5104, allocations: 235 kB / 1.473 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.5105, allocations: 24 kB / 1.473 GB, free: 10.63 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.5117, allocations: 0.7521 MB / 1.473 GB, free: 9.875 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.5118, allocations: 111.6 kB / 1.473 GB, free: 9.766 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.5119, allocations: 131.4 kB / 1.474 GB, free: 9.637 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.513, allocations: 0.7242 MB / 1.474 GB, free: 8.91 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.513, allocations: 8 kB / 1.474 GB, free: 8.902 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.232e-06/0.513, allocations: 0 / 1.474 GB, free: 8.902 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.513, allocations: 0 / 1.474 GB, free: 8.902 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.001072/0.514, allocations: 0.6095 MB / 1.475 GB, free: 8.262 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5141, allocations: 8.031 kB / 1.475 GB, free: 8.254 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.217e-05/0.5142, allocations: 58.53 kB / 1.475 GB, free: 8.188 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004427/0.5146, allocations: 87.69 kB / 1.475 GB, free: 8.102 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.5151, allocations: 256.1 kB / 1.475 GB, free: 7.82 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.5151, allocations: 16.5 kB / 1.475 GB, free: 7.805 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.035e-05/0.5151, allocations: 27.98 kB / 1.475 GB, free: 7.777 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.5158, allocations: 357 kB / 1.476 GB, free: 7.41 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5158, allocations: 4 kB / 1.476 GB, free: 7.406 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.5158, allocations: 11.94 kB / 1.476 GB, free: 7.395 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.5158, allocations: 12 kB / 1.476 GB, free: 7.383 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.5165, allocations: 285.5 kB / 1.476 GB, free: 7.105 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.001617/0.5181, allocations: 0.9819 MB / 1.477 GB, free: 6.062 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.519, allocations: 226.6 kB / 1.477 GB, free: 5.832 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.5193, allocations: 128.8 kB / 1.477 GB, free: 5.703 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004892/0.5198, allocations: 83.91 kB / 1.477 GB, free: 5.621 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.5198, allocations: 38.5 kB / 1.477 GB, free: 5.574 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.5198, allocations: 0 / 1.477 GB, free: 5.574 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001142/0.521, allocations: 410.7 kB / 1.478 GB, free: 5.168 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.521, allocations: 55.41 kB / 1.478 GB, free: 5.102 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.5213, allocations: 272.2 kB / 1.478 GB, free: 4.828 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.5213, allocations: 29.7 kB / 1.478 GB, free: 4.793 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.5214, allocations: 172.4 kB / 1.478 GB, free: 4.621 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.5215, allocations: 75.34 kB / 1.478 GB, free: 4.547 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.5216, allocations: 45.64 kB / 1.478 GB, free: 4.496 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5217, allocations: 338.8 kB / 1.479 GB, free: 4.156 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.522, allocations: 103.9 kB / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.5224, allocations: 244.8 kB / 1.479 GB, free: 3.777 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/0.523, allocations: 274.6 kB / 1.479 GB, free: 3.492 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.523, allocations: 0 / 1.479 GB, free: 3.492 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007258/0.5237, allocations: 315.2 kB / 1.48 GB, free: 3.18 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5238, allocations: 8 kB / 1.48 GB, free: 3.172 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5238, allocations: 7.938 kB / 1.48 GB, free: 3.164 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5238, allocations: 3.938 kB / 1.48 GB, free: 3.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.524, allocations: 63.89 kB / 1.48 GB, free: 3.098 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.524, allocations: 0 / 1.48 GB, free: 3.098 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.5243, allocations: 39.81 kB / 1.48 GB, free: 3.059 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.5243, allocations: 8 kB / 1.48 GB, free: 3.051 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.0001638/0.5245, allocations: 167.5 kB / 1.48 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.5245, allocations: 23.86 kB / 1.48 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007575/0.5253, allocations: 307.5 kB / 1.48 GB, free: 2.547 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5253, allocations: 4 kB / 1.48 GB, free: 2.543 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5253, allocations: 0 / 1.48 GB, free: 2.543 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.5253, allocations: 3.984 kB / 1.48 GB, free: 2.539 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.5268, allocations: 0.7522 MB / 1.481 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5268, allocations: 0 / 1.481 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.527, allocations: 51.89 kB / 1.481 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.527, allocations: 4 kB / 1.481 GB, free: 1.664 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.527, allocations: 12.06 kB / 1.481 GB, free: 1.652 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.527, allocations: 0 / 1.481 GB, free: 1.652 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.527, allocations: 4 kB / 1.481 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.5281, allocations: 0.5643 MB / 1.482 GB, free: 1.051 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5282, allocations: 55.75 kB / 1.482 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.5283, allocations: 8 kB / 1.482 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.5285, allocations: 23.97 kB / 1.482 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.5286, allocations: 28.02 kB / 1.482 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.5286, allocations: 11.92 kB / 1.482 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001855/0.5288, allocations: 203 kB / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5288, allocations: 0 / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004247/0.5292, allocations: 103.8 kB / 1.482 GB, free: 0.625 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.001629/0.5308, allocations: 1.178 MB / 1.483 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006785/0.5315, allocations: 253.9 kB / 1.483 GB, free: 15.16 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5315, allocations: 0 / 1.483 GB, free: 15.16 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.5318, allocations: 131.8 kB / 1.484 GB, free: 15.03 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.5325, allocations: 140.4 kB / 1.484 GB, free: 14.9 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.5368, allocations: 2.965 MB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.537, allocations: 174.8 kB / 1.487 GB, free: 11.6 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.5372, allocations: 66.25 kB / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.5373, allocations: 91.39 kB / 1.487 GB, free: 11.44 MB / 1.186 GB Notification: Performance of SimCode: time 4.3e-07/0.5373, allocations: 0 / 1.487 GB, free: 11.44 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.5746, allocations: 10.13 MB / 1.497 GB, free: 1.578 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.45, allocations: 9.875 kB / 1.497 GB, free: 1.57 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.892482591996668]