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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.487/2.487, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 71.89 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.7587, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1824/0.9411, allocations: 166 MB / 1.433 GB, free: 11.86 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.944, allocations: 1.572 MB / 1.435 GB, free: 10.6 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.9442, allocations: 14.56 kB / 1.435 GB, free: 10.59 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.9447, allocations: 142.4 kB / 1.435 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.9458, allocations: 489.1 kB / 1.436 GB, free: 10.11 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.9476, allocations: 0.7774 MB / 1.436 GB, free: 9.535 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007704/0.9483, allocations: 0.7087 MB / 1.437 GB, free: 9.125 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.9487, allocations: 202.9 kB / 1.437 GB, free: 8.992 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.9492, allocations: 326.1 kB / 1.438 GB, free: 8.805 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.9495, allocations: 244.5 kB / 1.438 GB, free: 8.656 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.9495, allocations: 24.88 kB / 1.438 GB, free: 8.656 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.9511, allocations: 0.9073 MB / 1.439 GB, free: 8.145 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.9512, allocations: 116.8 kB / 1.439 GB, free: 8.066 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.9514, allocations: 159.6 kB / 1.439 GB, free: 7.965 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.9524, allocations: 0.7457 MB / 1.44 GB, free: 7.516 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9524, allocations: 0 / 1.44 GB, free: 7.516 MB / 1.123 GB Notification: Performance of FrontEnd: time 6.502e-06/0.9524, allocations: 3.984 kB / 1.44 GB, free: 7.512 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9524, allocations: 4 kB / 1.44 GB, free: 7.508 MB / 1.123 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.001074/0.9535, allocations: 0.6724 MB / 1.44 GB, free: 6.918 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.9535, allocations: 8.781 kB / 1.44 GB, free: 6.918 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.038e-05/0.9536, allocations: 59.48 kB / 1.44 GB, free: 6.859 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004784/0.9541, allocations: 97 kB / 1.441 GB, free: 6.809 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.9545, allocations: 315.4 kB / 1.441 GB, free: 6.512 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.9545, allocations: 19.12 kB / 1.441 GB, free: 6.504 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.9546, allocations: 31.12 kB / 1.441 GB, free: 6.488 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006409/0.9552, allocations: 323.6 kB / 1.441 GB, free: 6.293 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9552, allocations: 1.125 kB / 1.441 GB, free: 6.293 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.9552, allocations: 13.38 kB / 1.441 GB, free: 6.281 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.9552, allocations: 5.938 kB / 1.441 GB, free: 6.281 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006852/0.9559, allocations: 290.5 kB / 1.441 GB, free: 6.148 MB / 1.123 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.001546/0.9575, allocations: 1.062 MB / 1.443 GB, free: 5.277 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.9584, allocations: 322 kB / 1.443 GB, free: 4.973 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.9587, allocations: 124.8 kB / 1.443 GB, free: 4.848 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006545/0.9593, allocations: 404.3 kB / 1.443 GB, free: 4.379 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.9594, allocations: 34.56 kB / 1.443 GB, free: 4.336 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.9594, allocations: 0 / 1.443 GB, free: 4.336 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001183/0.9605, allocations: 410.8 kB / 1.444 GB, free: 3.93 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.9606, allocations: 55.41 kB / 1.444 GB, free: 3.863 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.9608, allocations: 267 kB / 1.444 GB, free: 3.594 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.9609, allocations: 29.7 kB / 1.444 GB, free: 3.559 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.961, allocations: 172.3 kB / 1.444 GB, free: 3.383 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.961, allocations: 63.44 kB / 1.444 GB, free: 3.32 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.9611, allocations: 49.66 kB / 1.444 GB, free: 3.266 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9613, allocations: 338.8 kB / 1.445 GB, free: 2.926 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.9616, allocations: 103.9 kB / 1.445 GB, free: 2.824 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.9619, allocations: 163.3 kB / 1.445 GB, free: 2.645 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.9625, allocations: 274.5 kB / 1.445 GB, free: 2.359 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.9625, allocations: 4 kB / 1.445 GB, free: 2.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007139/0.9632, allocations: 309.2 kB / 1.446 GB, free: 2.047 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9633, allocations: 14.12 kB / 1.446 GB, free: 2.035 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.9633, allocations: 4 kB / 1.446 GB, free: 2.031 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9633, allocations: 7.938 kB / 1.446 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.9635, allocations: 55.89 kB / 1.446 GB, free: 1.969 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.9636, allocations: 4 kB / 1.446 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.9638, allocations: 43.75 kB / 1.446 GB, free: 1.922 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.9638, allocations: 12 kB / 1.446 GB, free: 1.91 MB / 1.123 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.0001458/0.964, allocations: 153.8 kB / 1.446 GB, free: 1.75 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.964, allocations: 27.81 kB / 1.446 GB, free: 1.723 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.9648, allocations: 321.6 kB / 1.446 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9648, allocations: 0 / 1.446 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.9648, allocations: 0 / 1.446 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9648, allocations: 8 kB / 1.446 GB, free: 1.391 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.9663, allocations: 0.9291 MB / 1.447 GB, free: 364 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9663, allocations: 7.938 kB / 1.447 GB, free: 356 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.9665, allocations: 51.97 kB / 1.447 GB, free: 304 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9665, allocations: 0 / 1.447 GB, free: 304 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.9666, allocations: 11.98 kB / 1.447 GB, free: 292 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.9666, allocations: 8.188 kB / 1.447 GB, free: 284 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9666, allocations: 0 / 1.447 GB, free: 284 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.9677, allocations: 0.5623 MB / 1.448 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.9678, allocations: 128.8 kB / 1.448 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.9679, allocations: 4 kB / 1.448 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.9681, allocations: 28.03 kB / 1.448 GB, free: 15.51 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.9681, allocations: 19.92 kB / 1.448 GB, free: 15.49 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.9682, allocations: 11.98 kB / 1.448 GB, free: 15.48 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001843/0.9683, allocations: 194 kB / 1.448 GB, free: 15.29 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.9683, allocations: 0 / 1.448 GB, free: 15.29 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004559/0.9688, allocations: 107.8 kB / 1.448 GB, free: 15.18 MB / 1.139 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.00172/0.9705, allocations: 1.204 MB / 1.449 GB, free: 13.94 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006965/0.9712, allocations: 241.6 kB / 1.45 GB, free: 13.71 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.9712, allocations: 320 / 1.45 GB, free: 13.71 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.9716, allocations: 135.8 kB / 1.45 GB, free: 13.57 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.9723, allocations: 132 kB / 1.45 GB, free: 13.45 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.9764, allocations: 2.985 MB / 1.453 GB, free: 10.31 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.9767, allocations: 0.7753 MB / 1.453 GB, free: 9.512 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002/0.9769, allocations: 66.25 kB / 1.454 GB, free: 9.445 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.9771, allocations: 87.41 kB / 1.454 GB, free: 9.363 MB / 1.139 GB Notification: Performance of SimCode: time 4.91e-07/0.9771, allocations: 0 / 1.454 GB, free: 9.363 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/1.011, allocations: 9.003 MB / 1.462 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/8.325, allocations: 4.312 kB / 1.462 GB, free: 0.5391 MB / 1.139 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] "" Variables in the reference:time,relHum.port_a.m_flow,relHum.phi,senRelHum.phi Variables in the result:TDryBul.duration,TDryBul.height,TDryBul.offset,TDryBul.startTime,TDryBul.y,XHum.duration,XHum.height,XHum.offset,XHum.startTime,XHum.y,der(relHum.phi),m_flow.duration,m_flow.height,m_flow.offset,m_flow.startTime,m_flow.y,relHum.allowFlowReversal,relHum.initType,relHum.m_flow_nominal,relHum.m_flow_small,relHum.phi,relHum.phi_start,relHum.port_a.Xi_outflow[1],relHum.port_a.h_outflow,relHum.port_a.m_flow,relHum.port_a.p,relHum.port_b.Xi_outflow[1],relHum.port_b.h_outflow,relHum.port_b.m_flow,relHum.port_b.p,relHum.tau,senRelHum.phi,senRelHum.port.Xi_outflow[1],senRelHum.port.h_outflow,senRelHum.port.m_flow,senRelHum.port.p,senRelHum.warnAboutOnePortConnection,sin.T,sin.X[1],sin.X[2],sin.nPorts,sin.p,sin.ports[1].Xi_outflow[1],sin.ports[1].h_outflow,sin.ports[1].m_flow,sin.ports[1].p,sin.use_C_in,sin.use_T_in,sin.use_X_in,sin.use_Xi_in,sin.use_p_in,sin.verifyInputs,sou.T,sou.T_in,sou.X[1],sou.X[2],sou.Xi_in[1],sou.m_flow,sou.m_flow_in,sou.nPorts,sou.ports[1].Xi_outflow[1],sou.ports[1].h_outflow,sou.ports[1].m_flow,sou.ports[1].p,sou.ports[2].Xi_outflow[1],sou.ports[2].h_outflow,sou.ports[2].m_flow,sou.ports[2].p,sou.use_C_in,sou.use_T_in,sou.use_X_in,sou.use_Xi_in,sou.use_m_flow_in,sou.verifyInputs,time [Calling sys.exit(0), Time elapsed: 13.639397307999388]