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.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.0008193/0.0008193, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009947/0.0009947, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8561/0.8561, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.676/1.676, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.089e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5033/0.5033, allocations: 145.7 MB / 1.142 GB, free: 9.055 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.5053, allocations: 1.449 MB / 1.143 GB, free: 8.094 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.5055, allocations: 14.94 kB / 1.143 GB, free: 8.086 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.5059, allocations: 153 kB / 1.144 GB, free: 7.984 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0009324/0.5068, allocations: 480.2 kB / 1.144 GB, free: 7.73 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.5081, allocations: 0.7865 MB / 1.145 GB, free: 7.352 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.5087, allocations: 0.6757 MB / 1.145 GB, free: 7.043 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.509, allocations: 183.2 kB / 1.146 GB, free: 6.965 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/0.5097, allocations: 0.5375 MB / 1.146 GB, free: 6.734 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.5099, allocations: 210.7 kB / 1.146 GB, free: 6.664 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.51, allocations: 21.97 kB / 1.146 GB, free: 6.664 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009973/0.511, allocations: 0.7425 MB / 1.147 GB, free: 6.406 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.5111, allocations: 121.7 kB / 1.147 GB, free: 6.352 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 9.621e-05/0.5112, allocations: 109.1 kB / 1.147 GB, free: 6.309 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008623/0.5121, allocations: 0.7653 MB / 1.148 GB, free: 6.059 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5121, allocations: 1.062 kB / 1.148 GB, free: 6.059 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5121, allocations: 0 / 1.148 GB, free: 6.059 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.5121, allocations: 0 / 1.148 GB, free: 6.059 MB / 1.01 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.0008061/0.5129, allocations: 0.6108 MB / 1.149 GB, free: 5.594 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.5129, allocations: 11.06 kB / 1.149 GB, free: 5.594 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.513, allocations: 56.08 kB / 1.149 GB, free: 5.543 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.5133, allocations: 87.42 kB / 1.149 GB, free: 5.516 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.5136, allocations: 244.3 kB / 1.149 GB, free: 5.328 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.5136, allocations: 18.22 kB / 1.149 GB, free: 5.32 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.5136, allocations: 23.31 kB / 1.149 GB, free: 5.312 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.5141, allocations: 359.8 kB / 1.149 GB, free: 5.145 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5141, allocations: 4 kB / 1.149 GB, free: 5.141 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.5141, allocations: 11.48 kB / 1.149 GB, free: 5.133 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5141, allocations: 5.438 kB / 1.149 GB, free: 5.133 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.5145, allocations: 281.1 kB / 1.15 GB, free: 5.062 MB / 1.01 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.001093/0.5156, allocations: 0.9895 MB / 1.151 GB, free: 4.391 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.5161, allocations: 246.4 kB / 1.151 GB, free: 4.312 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.5163, allocations: 123.6 kB / 1.151 GB, free: 4.277 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.5166, allocations: 91.45 kB / 1.151 GB, free: 4.266 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.5166, allocations: 33.73 kB / 1.151 GB, free: 4.227 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.5166, allocations: 0 / 1.151 GB, free: 4.227 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.0007214/0.5173, allocations: 401.6 kB / 1.151 GB, free: 4.102 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.5174, allocations: 54.25 kB / 1.152 GB, free: 4.039 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.5176, allocations: 269.6 kB / 1.152 GB, free: 3.883 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.5176, allocations: 30.83 kB / 1.152 GB, free: 3.848 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.5177, allocations: 165.2 kB / 1.152 GB, free: 3.707 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.5177, allocations: 80.72 kB / 1.152 GB, free: 3.641 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.5178, allocations: 43.67 kB / 1.152 GB, free: 3.613 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.5179, allocations: 340.8 kB / 1.152 GB, free: 3.285 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.518, allocations: 100.4 kB / 1.153 GB, free: 3.266 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.5183, allocations: 249.3 kB / 1.153 GB, free: 3.082 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.5186, allocations: 268.3 kB / 1.153 GB, free: 2.969 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5186, allocations: 0.9375 kB / 1.153 GB, free: 2.969 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004241/0.519, allocations: 321.3 kB / 1.153 GB, free: 2.848 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.519, allocations: 5.438 kB / 1.153 GB, free: 2.848 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.5191, allocations: 2.219 kB / 1.153 GB, free: 2.848 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5191, allocations: 2.922 kB / 1.153 GB, free: 2.848 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.5192, allocations: 59.98 kB / 1.153 GB, free: 2.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5192, allocations: 3.234 kB / 1.153 GB, free: 2.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.5193, allocations: 44.41 kB / 1.153 GB, free: 2.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.5194, allocations: 11.38 kB / 1.153 GB, free: 2.816 MB / 1.01 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.000105/0.5195, allocations: 150.5 kB / 1.154 GB, free: 2.684 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.5195, allocations: 28.89 kB / 1.154 GB, free: 2.668 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.52, allocations: 315.7 kB / 1.154 GB, free: 2.551 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.52, allocations: 3.422 kB / 1.154 GB, free: 2.551 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.52, allocations: 0 / 1.154 GB, free: 2.551 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.52, allocations: 4.734 kB / 1.154 GB, free: 2.547 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.5209, allocations: 0.7503 MB / 1.155 GB, free: 2.082 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5209, allocations: 1.781 kB / 1.155 GB, free: 2.082 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.521, allocations: 54.14 kB / 1.155 GB, free: 2.074 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.521, allocations: 2.625 kB / 1.155 GB, free: 2.074 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.521, allocations: 7.594 kB / 1.155 GB, free: 2.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.521, allocations: 4.531 kB / 1.155 GB, free: 2.07 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.521, allocations: 1.922 kB / 1.155 GB, free: 2.07 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.5217, allocations: 0.5572 MB / 1.155 GB, free: 1.766 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.522, allocations: 60.06 kB / 1.155 GB, free: 1.73 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.522, allocations: 3.438 kB / 1.155 GB, free: 1.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5221, allocations: 25.23 kB / 1.155 GB, free: 1.727 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.5221, allocations: 23.59 kB / 1.155 GB, free: 1.719 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.5222, allocations: 8.391 kB / 1.155 GB, free: 1.719 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001251/0.5223, allocations: 191.4 kB / 1.156 GB, free: 1.609 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5223, allocations: 0 / 1.156 GB, free: 1.609 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003388/0.5226, allocations: 111.8 kB / 1.156 GB, free: 1.582 MB / 1.01 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.001023/0.5236, allocations: 1.184 MB / 1.157 GB, free: 0.7188 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.5241, allocations: 248.7 kB / 1.157 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5241, allocations: 1.406 kB / 1.157 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.5243, allocations: 139.8 kB / 1.157 GB, free: 0.6172 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.5247, allocations: 116 kB / 1.157 GB, free: 0.5938 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.5275, allocations: 2.929 MB / 1.16 GB, free: 14.68 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.5277, allocations: 169.8 kB / 1.16 GB, free: 14.6 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.5279, allocations: 59.2 kB / 1.16 GB, free: 14.59 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.528, allocations: 94.61 kB / 1.16 GB, free: 14.52 MB / 1.026 GB Notification: Performance of SimCode: time 9.92e-07/0.528, allocations: 0 / 1.16 GB, free: 14.52 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.5525, allocations: 9.961 MB / 1.17 GB, free: 12.91 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/7.235, allocations: 20.45 kB / 1.17 GB, free: 12.9 MB / 1.026 GB " [Timeout remaining time 293] (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 800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable relHum.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! Error: Could not read variable senRelHum.phi in file Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable senRelHum.phi from file Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,relHum.port_a.m_flow,relHum.phi,senRelHum.phi Variables in the result:time,relHum.phi [Calling sys.exit(0), Time elapsed: 11.229815986007452]