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.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.001883/0.001883, allocations: 105.7 kB / 16.45 MB, free: 6.453 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.002348/0.002348, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.938/2.938, allocations: 476.7 MB / 0.7672 GB, free: 5.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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"}) [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.001995/0.001995, allocations: 67.91 kB / 1.112 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8166, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2022/1.019, allocations: 168.7 MB / 1.443 GB, free: 4.113 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003596/1.022, allocations: 1.539 MB / 1.445 GB, free: 2.574 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005465/1.023, allocations: 15.88 kB / 1.445 GB, free: 2.559 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005717/1.024, allocations: 142.9 kB / 1.445 GB, free: 2.418 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/1.025, allocations: 493.8 kB / 1.445 GB, free: 1.934 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/1.027, allocations: 0.7655 MB / 1.446 GB, free: 1.168 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001092/1.028, allocations: 0.7059 MB / 1.447 GB, free: 468 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004965/1.029, allocations: 232.5 kB / 1.447 GB, free: 232 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000722/1.03, allocations: 322.8 kB / 1.447 GB, free: 15.91 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/1.03, allocations: 243 kB / 1.447 GB, free: 15.67 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/1.03, allocations: 28 kB / 1.447 GB, free: 15.64 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/1.032, allocations: 0.9119 MB / 1.448 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/1.032, allocations: 123.5 kB / 1.448 GB, free: 14.61 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/1.032, allocations: 159.3 kB / 1.449 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/1.034, allocations: 0.7476 MB / 1.449 GB, free: 13.7 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/1.034, allocations: 3.938 kB / 1.449 GB, free: 13.7 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.453e-06/1.034, allocations: 0 / 1.449 GB, free: 13.7 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.034, allocations: 0 / 1.449 GB, free: 13.7 MB / 1.154 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.001207/1.035, allocations: 0.6849 MB / 1.45 GB, free: 12.96 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.035, allocations: 12.03 kB / 1.45 GB, free: 12.95 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.77e-05/1.035, allocations: 58.55 kB / 1.45 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/1.035, allocations: 83.62 kB / 1.45 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/1.036, allocations: 322 kB / 1.45 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/1.036, allocations: 16.56 kB / 1.45 GB, free: 12.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/1.036, allocations: 27.98 kB / 1.45 GB, free: 12.41 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/1.037, allocations: 332.2 kB / 1.451 GB, free: 12.07 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.037, allocations: 0 / 1.451 GB, free: 12.07 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/1.037, allocations: 15.94 kB / 1.451 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/1.037, allocations: 4 kB / 1.451 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/1.037, allocations: 289.5 kB / 1.451 GB, free: 11.77 MB / 1.154 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.00174/1.039, allocations: 1.06 MB / 1.452 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/1.04, allocations: 319.6 kB / 1.452 GB, free: 10.3 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/1.041, allocations: 120.8 kB / 1.453 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007455/1.041, allocations: 396.3 kB / 1.453 GB, free: 9.723 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.041, allocations: 34.56 kB / 1.453 GB, free: 9.68 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/1.041, allocations: 0 / 1.453 GB, free: 9.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001319/1.043, allocations: 403.6 kB / 1.453 GB, free: 9.281 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/1.043, allocations: 63.36 kB / 1.453 GB, free: 9.207 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/1.043, allocations: 263 kB / 1.454 GB, free: 8.941 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/1.043, allocations: 29.7 kB / 1.454 GB, free: 8.906 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/1.043, allocations: 172.3 kB / 1.454 GB, free: 8.734 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/1.043, allocations: 75.31 kB / 1.454 GB, free: 8.66 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/1.043, allocations: 53.64 kB / 1.454 GB, free: 8.602 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.044, allocations: 330.8 kB / 1.454 GB, free: 8.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/1.044, allocations: 103.9 kB / 1.454 GB, free: 8.168 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/1.044, allocations: 164.5 kB / 1.455 GB, free: 7.988 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/1.045, allocations: 274.8 kB / 1.455 GB, free: 7.703 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.045, allocations: 0 / 1.455 GB, free: 7.703 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008259/1.046, allocations: 321.2 kB / 1.455 GB, free: 7.383 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.046, allocations: 10.28 kB / 1.455 GB, free: 7.375 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.046, allocations: 4 kB / 1.455 GB, free: 7.371 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.046, allocations: 7.938 kB / 1.455 GB, free: 7.363 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/1.046, allocations: 60.05 kB / 1.455 GB, free: 7.305 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.046, allocations: 4 kB / 1.455 GB, free: 7.301 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/1.046, allocations: 35.86 kB / 1.455 GB, free: 7.266 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/1.046, allocations: 8.047 kB / 1.455 GB, free: 7.258 MB / 1.154 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.0001692/1.047, allocations: 157.8 kB / 1.455 GB, free: 7.094 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/1.047, allocations: 31.8 kB / 1.455 GB, free: 7.062 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008918/1.048, allocations: 329.2 kB / 1.456 GB, free: 6.734 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/1.048, allocations: 7.938 kB / 1.456 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.048, allocations: 0 / 1.456 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/1.048, allocations: 0 / 1.456 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/1.049, allocations: 0.9307 MB / 1.457 GB, free: 5.691 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.049, allocations: 3.938 kB / 1.457 GB, free: 5.688 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/1.05, allocations: 43.97 kB / 1.457 GB, free: 5.645 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/1.05, allocations: 4 kB / 1.457 GB, free: 5.641 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/1.05, allocations: 8 kB / 1.457 GB, free: 5.633 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.05, allocations: 3.984 kB / 1.457 GB, free: 5.629 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.05, allocations: 7.938 kB / 1.457 GB, free: 5.621 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/1.051, allocations: 0.5568 MB / 1.457 GB, free: 5.031 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/1.051, allocations: 124.9 kB / 1.457 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/1.051, allocations: 8 kB / 1.457 GB, free: 4.883 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/1.051, allocations: 19.97 kB / 1.457 GB, free: 4.863 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/1.051, allocations: 27.92 kB / 1.457 GB, free: 4.836 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/1.051, allocations: 15.98 kB / 1.457 GB, free: 4.82 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002003/1.052, allocations: 186 kB / 1.458 GB, free: 4.637 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.052, allocations: 0 / 1.458 GB, free: 4.637 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005392/1.052, allocations: 119.7 kB / 1.458 GB, free: 4.52 MB / 1.154 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.001838/1.054, allocations: 1.174 MB / 1.459 GB, free: 3.301 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007796/1.055, allocations: 250.3 kB / 1.459 GB, free: 3.059 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.055, allocations: 0 / 1.459 GB, free: 3.059 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003833/1.055, allocations: 139.1 kB / 1.459 GB, free: 2.926 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/1.056, allocations: 136.6 kB / 1.459 GB, free: 2.793 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/1.061, allocations: 2.992 MB / 1.462 GB, free: 15.65 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/1.062, allocations: 0.7753 MB / 1.463 GB, free: 14.85 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002934/1.062, allocations: 66.23 kB / 1.463 GB, free: 14.78 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.062, allocations: 91.41 kB / 1.463 GB, free: 14.7 MB / 1.17 GB Notification: Performance of SimCode: time 9.22e-07/1.062, allocations: 0 / 1.463 GB, free: 14.7 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04193/1.104, allocations: 8.985 MB / 1.472 GB, free: 5.883 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.673/9.777, allocations: 5.562 kB / 1.472 GB, free: 5.879 MB / 1.17 GB " [Timeout remaining time 290] (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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable relHum.port_a.m_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable relHum.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! Error: Could not read variable senRelHum.phi in file Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable senRelHum.phi from file Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.170563522027805]