Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008189/0.008189, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.8009, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1847/0.9857, allocations: 165.3 MB / 1.328 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002946/0.9887, allocations: 1.562 MB / 1.329 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.9891, allocations: 11.94 kB / 1.329 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.9897, allocations: 146.9 kB / 1.329 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.9911, allocations: 485.8 kB / 1.33 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.9933, allocations: 0.7658 MB / 1.33 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009766/0.9943, allocations: 0.7097 MB / 1.331 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005138/0.9948, allocations: 258.8 kB / 1.331 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000661/0.9955, allocations: 318.8 kB / 1.332 GB, free: 9.648 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.9959, allocations: 227.1 kB / 1.332 GB, free: 9.426 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.996, allocations: 24 kB / 1.332 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.9977, allocations: 0.873 MB / 1.333 GB, free: 8.527 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.9979, allocations: 115.7 kB / 1.333 GB, free: 8.414 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.9982, allocations: 151.3 kB / 1.333 GB, free: 8.266 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.9996, allocations: 0.7442 MB / 1.334 GB, free: 7.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9996, allocations: 3.938 kB / 1.334 GB, free: 7.516 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.409e-06/0.9997, allocations: 0 / 1.334 GB, free: 7.516 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.9997, allocations: 3.938 kB / 1.334 GB, free: 7.512 MB / 1.061 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.001323/1.001, allocations: 0.6701 MB / 1.334 GB, free: 6.789 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.001, allocations: 12.92 kB / 1.334 GB, free: 6.777 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.061e-05/1.001, allocations: 58.53 kB / 1.334 GB, free: 6.711 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005194/1.002, allocations: 79.52 kB / 1.335 GB, free: 6.633 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/1.002, allocations: 325.8 kB / 1.335 GB, free: 6.277 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/1.002, allocations: 16.56 kB / 1.335 GB, free: 6.262 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/1.002, allocations: 24 kB / 1.335 GB, free: 6.238 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/1.003, allocations: 336.2 kB / 1.335 GB, free: 5.898 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.003, allocations: 0 / 1.335 GB, free: 5.898 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/1.003, allocations: 15.94 kB / 1.335 GB, free: 5.883 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.003, allocations: 4 kB / 1.335 GB, free: 5.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/1.004, allocations: 289.5 kB / 1.336 GB, free: 5.594 MB / 1.061 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.001679/1.005, allocations: 1.063 MB / 1.337 GB, free: 4.465 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008924/1.006, allocations: 335.6 kB / 1.337 GB, free: 4.109 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/1.007, allocations: 135 kB / 1.337 GB, free: 3.977 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/1.007, allocations: 396.3 kB / 1.337 GB, free: 3.516 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/1.007, allocations: 30.56 kB / 1.337 GB, free: 3.477 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/1.007, allocations: 0 / 1.337 GB, free: 3.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001199/1.009, allocations: 405 kB / 1.338 GB, free: 3.074 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/1.009, allocations: 55.34 kB / 1.338 GB, free: 3.008 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/1.009, allocations: 267 kB / 1.338 GB, free: 2.742 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/1.009, allocations: 33.7 kB / 1.338 GB, free: 2.703 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/1.009, allocations: 168.2 kB / 1.338 GB, free: 2.535 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/1.009, allocations: 74.98 kB / 1.338 GB, free: 2.461 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/1.009, allocations: 37.72 kB / 1.338 GB, free: 2.418 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.009, allocations: 342.8 kB / 1.339 GB, free: 2.074 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/1.01, allocations: 103.9 kB / 1.339 GB, free: 1.973 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/1.01, allocations: 164.1 kB / 1.339 GB, free: 1.793 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/1.011, allocations: 259 kB / 1.339 GB, free: 1.523 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.011, allocations: 4 kB / 1.339 GB, free: 1.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007561/1.011, allocations: 318.7 kB / 1.34 GB, free: 1.203 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.011, allocations: 14.44 kB / 1.34 GB, free: 1.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.011, allocations: 3.984 kB / 1.34 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/1.012, allocations: 8.094 kB / 1.34 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/1.012, allocations: 59.91 kB / 1.34 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.012, allocations: 4 kB / 1.34 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/1.012, allocations: 39.75 kB / 1.34 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/1.012, allocations: 11.98 kB / 1.34 GB, free: 1.066 MB / 1.061 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.000165/1.012, allocations: 145.8 kB / 1.34 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/1.012, allocations: 31.66 kB / 1.34 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007941/1.013, allocations: 331.4 kB / 1.34 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.013, allocations: 0 / 1.34 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.013, allocations: 4 kB / 1.34 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.013, allocations: 0 / 1.34 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/1.015, allocations: 0.9302 MB / 1.341 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.015, allocations: 4.062 kB / 1.341 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/1.015, allocations: 55.95 kB / 1.341 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/1.015, allocations: 0 / 1.341 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/1.015, allocations: 4 kB / 1.341 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/1.015, allocations: 7.938 kB / 1.341 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.015, allocations: 0 / 1.341 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.016, allocations: 0.5571 MB / 1.342 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/1.016, allocations: 132.7 kB / 1.342 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/1.016, allocations: 0 / 1.342 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/1.017, allocations: 23.97 kB / 1.342 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/1.017, allocations: 31.97 kB / 1.342 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/1.017, allocations: 4 kB / 1.342 GB, free: 14.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002084/1.017, allocations: 194 kB / 1.342 GB, free: 14.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.017, allocations: 0 / 1.342 GB, free: 14.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004669/1.017, allocations: 107.8 kB / 1.342 GB, free: 14.34 MB / 1.076 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.001737/1.019, allocations: 1.187 MB / 1.343 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007036/1.02, allocations: 254.1 kB / 1.344 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.02, allocations: 4 kB / 1.344 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/1.02, allocations: 144.5 kB / 1.344 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/1.021, allocations: 133.2 kB / 1.344 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/1.026, allocations: 2.959 MB / 1.347 GB, free: 9.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/1.026, allocations: 0.7831 MB / 1.348 GB, free: 8.691 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002744/1.027, allocations: 62.25 kB / 1.348 GB, free: 8.629 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/1.027, allocations: 87.41 kB / 1.348 GB, free: 8.543 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/1.027, allocations: 4 kB / 1.348 GB, free: 8.539 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/1.058, allocations: 8.957 MB / 1.356 GB, free: 15.76 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/9.252, allocations: 14.86 kB / 1.356 GB, free: 15.75 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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