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.006815/0.006815, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001326/0.001326, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8242/0.8256, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1812/1.007, allocations: 165.3 MB / 1.369 GB, free: 7.652 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003046/1.01, allocations: 1.562 MB / 1.37 GB, free: 6.086 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/1.01, allocations: 11.94 kB / 1.37 GB, free: 6.074 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005584/1.011, allocations: 142.9 kB / 1.37 GB, free: 5.934 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/1.012, allocations: 469.8 kB / 1.371 GB, free: 5.473 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/1.015, allocations: 0.7546 MB / 1.372 GB, free: 4.719 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0009919/1.016, allocations: 0.698 MB / 1.372 GB, free: 4.02 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/1.016, allocations: 266.7 kB / 1.372 GB, free: 3.754 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/1.017, allocations: 322.8 kB / 1.373 GB, free: 3.438 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/1.017, allocations: 219.1 kB / 1.373 GB, free: 3.223 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.871e-05/1.018, allocations: 27.98 kB / 1.373 GB, free: 3.195 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/1.019, allocations: 0.8652 MB / 1.374 GB, free: 2.328 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/1.02, allocations: 115.7 kB / 1.374 GB, free: 2.215 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/1.02, allocations: 159.2 kB / 1.374 GB, free: 2.059 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/1.021, allocations: 0.7325 MB / 1.375 GB, free: 1.324 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.021, allocations: 0 / 1.375 GB, free: 1.324 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.034e-06/1.021, allocations: 0 / 1.375 GB, free: 1.324 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.383e-05/1.021, allocations: 0 / 1.375 GB, free: 1.324 MB / 1.092 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.001365/1.023, allocations: 0.6896 MB / 1.376 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.023, allocations: 8.031 kB / 1.376 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.584e-05/1.023, allocations: 54.55 kB / 1.376 GB, free: 0.5156 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005568/1.023, allocations: 91.48 kB / 1.376 GB, free: 436 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/1.024, allocations: 309.8 kB / 1.376 GB, free: 88 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/1.024, allocations: 20.56 kB / 1.376 GB, free: 64 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/1.024, allocations: 24 kB / 1.376 GB, free: 40 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/1.025, allocations: 340.1 kB / 1.376 GB, free: 15.69 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.025, allocations: 0 / 1.376 GB, free: 15.69 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/1.025, allocations: 7.938 kB / 1.376 GB, free: 15.68 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/1.025, allocations: 8 kB / 1.376 GB, free: 15.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000734/1.026, allocations: 285.5 kB / 1.377 GB, free: 15.4 MB / 1.107 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.001702/1.027, allocations: 1.067 MB / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000917/1.028, allocations: 323.7 kB / 1.378 GB, free: 13.92 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/1.029, allocations: 136.8 kB / 1.378 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006827/1.029, allocations: 388.3 kB / 1.378 GB, free: 13.33 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.029, allocations: 42.55 kB / 1.378 GB, free: 13.28 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/1.029, allocations: 3.938 kB / 1.379 GB, free: 13.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001309/1.031, allocations: 402.4 kB / 1.379 GB, free: 12.88 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/1.031, allocations: 55.41 kB / 1.379 GB, free: 12.81 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/1.031, allocations: 263 kB / 1.379 GB, free: 12.55 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/1.031, allocations: 33.7 kB / 1.379 GB, free: 12.51 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/1.031, allocations: 164.2 kB / 1.379 GB, free: 12.34 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/1.031, allocations: 78.95 kB / 1.379 GB, free: 12.27 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/1.031, allocations: 45.64 kB / 1.379 GB, free: 12.21 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.031, allocations: 338.8 kB / 1.38 GB, free: 11.88 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/1.032, allocations: 95.91 kB / 1.38 GB, free: 11.78 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/1.032, allocations: 169.9 kB / 1.38 GB, free: 11.59 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/1.033, allocations: 267 kB / 1.38 GB, free: 11.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.033, allocations: 0 / 1.38 GB, free: 11.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001223/1.034, allocations: 323.4 kB / 1.381 GB, free: 11 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.034, allocations: 4 kB / 1.381 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.034, allocations: 4 kB / 1.381 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.034, allocations: 4 kB / 1.381 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/1.035, allocations: 67.89 kB / 1.381 GB, free: 10.92 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/1.035, allocations: 4.156 kB / 1.381 GB, free: 10.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/1.035, allocations: 35.75 kB / 1.381 GB, free: 10.88 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/1.035, allocations: 12 kB / 1.381 GB, free: 10.87 MB / 1.107 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.0002296/1.036, allocations: 153.8 kB / 1.381 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.036, allocations: 23.72 kB / 1.381 GB, free: 10.68 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/1.037, allocations: 331.4 kB / 1.381 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/1.037, allocations: 4 kB / 1.381 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.037, allocations: 0 / 1.381 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.037, allocations: 3.984 kB / 1.381 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/1.039, allocations: 0.9214 MB / 1.382 GB, free: 9.316 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.039, allocations: 4.031 kB / 1.382 GB, free: 9.312 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/1.04, allocations: 47.95 kB / 1.382 GB, free: 9.266 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/1.04, allocations: 4 kB / 1.382 GB, free: 9.262 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/1.04, allocations: 8 kB / 1.382 GB, free: 9.254 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.04, allocations: 0 / 1.382 GB, free: 9.254 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.04, allocations: 7.938 kB / 1.382 GB, free: 9.246 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/1.041, allocations: 0.5564 MB / 1.383 GB, free: 8.656 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/1.041, allocations: 124.8 kB / 1.383 GB, free: 8.516 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/1.041, allocations: 8 kB / 1.383 GB, free: 8.508 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/1.042, allocations: 23.97 kB / 1.383 GB, free: 8.484 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/1.042, allocations: 27.92 kB / 1.383 GB, free: 8.457 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/1.042, allocations: 8 kB / 1.383 GB, free: 8.449 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001917/1.042, allocations: 197.9 kB / 1.383 GB, free: 8.254 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.31e-07/1.042, allocations: 0 / 1.383 GB, free: 8.254 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004702/1.043, allocations: 111.8 kB / 1.383 GB, free: 8.145 MB / 1.107 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.00186/1.044, allocations: 1.189 MB / 1.384 GB, free: 6.922 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0007771/1.045, allocations: 259.7 kB / 1.385 GB, free: 6.668 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.045, allocations: 0 / 1.385 GB, free: 6.668 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/1.046, allocations: 140.1 kB / 1.385 GB, free: 6.535 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/1.046, allocations: 139.6 kB / 1.385 GB, free: 6.402 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/1.051, allocations: 2.968 MB / 1.388 GB, free: 3.301 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/1.051, allocations: 0.7831 MB / 1.389 GB, free: 2.492 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002771/1.052, allocations: 62.25 kB / 1.389 GB, free: 2.426 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/1.052, allocations: 87.39 kB / 1.389 GB, free: 2.34 MB / 1.107 GB Notification: Performance of SimCode: time 9.42e-07/1.052, allocations: 0 / 1.389 GB, free: 2.34 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/1.09, allocations: 9.092 MB / 1.398 GB, free: 9.418 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/9.239, allocations: 0 / 1.398 GB, free: 9.418 MB / 1.123 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