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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007892/0.007892, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001511/0.001512, allocations: 196.4 kB / 16.67 MB, free: 5.93 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 71.83 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2943, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.92/1.214, allocations: 165.3 MB / 1.369 GB, free: 2.828 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003904/1.218, allocations: 1.563 MB / 1.37 GB, free: 1.742 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006733/1.219, allocations: 10.31 kB / 1.37 GB, free: 1.738 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007181/1.22, allocations: 146.9 kB / 1.37 GB, free: 1.637 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001843/1.222, allocations: 474.3 kB / 1.371 GB, free: 1.387 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/1.225, allocations: 0.7469 MB / 1.372 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00166/1.226, allocations: 0.7015 MB / 1.372 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009326/1.227, allocations: 266.5 kB / 1.372 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/1.229, allocations: 319.1 kB / 1.373 GB, free: 480 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007981/1.229, allocations: 221.6 kB / 1.373 GB, free: 384 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/1.23, allocations: 25.59 kB / 1.373 GB, free: 384 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/1.233, allocations: 0.8651 MB / 1.374 GB, free: 52 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/1.233, allocations: 113.6 kB / 1.374 GB, free: 4 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003996/1.233, allocations: 159.5 kB / 1.374 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/1.236, allocations: 0.7497 MB / 1.375 GB, free: 15.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.236, allocations: 0 / 1.375 GB, free: 15.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.044e-06/1.236, allocations: 1.25 kB / 1.375 GB, free: 15.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.819e-05/1.236, allocations: 0 / 1.375 GB, free: 15.63 MB / 1.076 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.001678/1.238, allocations: 0.6691 MB / 1.375 GB, free: 15.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.238, allocations: 9.531 kB / 1.376 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.587e-05/1.238, allocations: 55.33 kB / 1.376 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006486/1.239, allocations: 89.06 kB / 1.376 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/1.239, allocations: 327.4 kB / 1.376 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.239, allocations: 14.06 kB / 1.376 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/1.239, allocations: 23.53 kB / 1.376 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/1.24, allocations: 328.4 kB / 1.376 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.24, allocations: 0 / 1.376 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/1.24, allocations: 14.69 kB / 1.376 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/1.24, allocations: 9.812 kB / 1.376 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008051/1.241, allocations: 283.2 kB / 1.377 GB, free: 14.28 MB / 1.076 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.002027/1.243, allocations: 1.065 MB / 1.378 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009683/1.244, allocations: 323.9 kB / 1.378 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/1.244, allocations: 139 kB / 1.378 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007717/1.245, allocations: 392.3 kB / 1.378 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.245, allocations: 35.66 kB / 1.378 GB, free: 12.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/1.245, allocations: 1.438 kB / 1.378 GB, free: 12.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001272/1.246, allocations: 409.3 kB / 1.379 GB, free: 12.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/1.246, allocations: 53.91 kB / 1.379 GB, free: 12.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/1.247, allocations: 265 kB / 1.379 GB, free: 12.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/1.247, allocations: 30.89 kB / 1.379 GB, free: 12.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/1.247, allocations: 167.5 kB / 1.379 GB, free: 12.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/1.247, allocations: 71.3 kB / 1.379 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.247, allocations: 46.61 kB / 1.379 GB, free: 11.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.247, allocations: 337.3 kB / 1.38 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/1.248, allocations: 107.9 kB / 1.38 GB, free: 11.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/1.248, allocations: 158.1 kB / 1.38 GB, free: 11.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/1.249, allocations: 272.3 kB / 1.38 GB, free: 11.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.249, allocations: 1.156 kB / 1.38 GB, free: 11.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008109/1.249, allocations: 320.4 kB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.249, allocations: 4.812 kB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.249, allocations: 2.094 kB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.249, allocations: 6.125 kB / 1.381 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/1.25, allocations: 62.52 kB / 1.381 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/1.25, allocations: 2.375 kB / 1.381 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/1.25, allocations: 32.5 kB / 1.381 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/1.25, allocations: 15.53 kB / 1.381 GB, free: 11.07 MB / 1.076 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.0001746/1.25, allocations: 157 kB / 1.381 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/1.25, allocations: 23.41 kB / 1.381 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007658/1.251, allocations: 321.7 kB / 1.381 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/1.251, allocations: 13.22 kB / 1.381 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.251, allocations: 2.188 kB / 1.381 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.251, allocations: 0 / 1.381 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/1.253, allocations: 0.9321 MB / 1.382 GB, free: 9.918 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.253, allocations: 1.062 kB / 1.382 GB, free: 9.918 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/1.253, allocations: 53.28 kB / 1.382 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/1.253, allocations: 10.36 kB / 1.382 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/1.253, allocations: 3.219 kB / 1.382 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.253, allocations: 3.094 kB / 1.382 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.253, allocations: 2.219 kB / 1.382 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/1.254, allocations: 0.5593 MB / 1.383 GB, free: 9.512 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/1.254, allocations: 120.2 kB / 1.383 GB, free: 9.391 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/1.254, allocations: 6.812 kB / 1.383 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/1.255, allocations: 24.25 kB / 1.383 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/1.255, allocations: 24.53 kB / 1.383 GB, free: 9.359 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/1.255, allocations: 7.406 kB / 1.383 GB, free: 9.359 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000191/1.255, allocations: 196.1 kB / 1.383 GB, free: 9.223 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.255, allocations: 4.062 kB / 1.383 GB, free: 9.219 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005278/1.256, allocations: 112.9 kB / 1.383 GB, free: 9.188 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.001769/1.257, allocations: 1.195 MB / 1.384 GB, free: 8.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007301/1.258, allocations: 256.3 kB / 1.385 GB, free: 8.121 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.258, allocations: 0 / 1.385 GB, free: 8.121 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/1.258, allocations: 136.9 kB / 1.385 GB, free: 8.062 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/1.259, allocations: 140 kB / 1.385 GB, free: 7.992 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/1.264, allocations: 2.968 MB / 1.388 GB, free: 5.773 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/1.264, allocations: 0.7852 MB / 1.389 GB, free: 5.027 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002637/1.264, allocations: 65.3 kB / 1.389 GB, free: 4.996 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/1.265, allocations: 88.62 kB / 1.389 GB, free: 4.926 MB / 1.076 GB Notification: Performance of SimCode: time 7.62e-07/1.265, allocations: 0 / 1.389 GB, free: 4.926 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/1.302, allocations: 9.084 MB / 1.398 GB, free: 388 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/9.535, allocations: 6.047 kB / 1.398 GB, free: 384 kB / 1.076 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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