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.001474/0.001474, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001552/0.001552, allocations: 211.5 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.322/3.322, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 63.59 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3728, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2004/0.5732, allocations: 145.7 MB / 1.507 GB, free: 11.24 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.5766, allocations: 1.48 MB / 1.508 GB, free: 9.758 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.577, allocations: 15.88 kB / 1.508 GB, free: 9.742 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.5775, allocations: 146.9 kB / 1.509 GB, free: 9.598 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.5789, allocations: 473.9 kB / 1.509 GB, free: 9.133 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.5811, allocations: 0.7544 MB / 1.51 GB, free: 8.379 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.5822, allocations: 0.7136 MB / 1.51 GB, free: 7.664 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.5826, allocations: 215 kB / 1.511 GB, free: 7.449 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.5837, allocations: 482.3 kB / 1.511 GB, free: 6.977 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.5841, allocations: 223.1 kB / 1.511 GB, free: 6.758 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/0.5842, allocations: 24 kB / 1.511 GB, free: 6.734 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.5856, allocations: 0.7403 MB / 1.512 GB, free: 5.992 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.5858, allocations: 111.6 kB / 1.512 GB, free: 5.883 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.586, allocations: 135.4 kB / 1.512 GB, free: 5.75 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.5873, allocations: 0.7281 MB / 1.513 GB, free: 5.02 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5873, allocations: 0 / 1.513 GB, free: 5.02 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5873, allocations: 0 / 1.513 GB, free: 5.02 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.5873, allocations: 0 / 1.513 GB, free: 5.02 MB / 1.201 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.001251/0.5886, allocations: 0.6057 MB / 1.514 GB, free: 4.383 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5886, allocations: 12.03 kB / 1.514 GB, free: 4.371 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/0.5892, allocations: 87.64 kB / 1.514 GB, free: 4.285 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.5897, allocations: 256.1 kB / 1.514 GB, free: 4.012 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.5897, allocations: 16.5 kB / 1.514 GB, free: 3.996 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.5898, allocations: 24 kB / 1.514 GB, free: 3.973 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007562/0.5905, allocations: 357 kB / 1.514 GB, free: 3.605 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.5905, allocations: 11.92 kB / 1.514 GB, free: 3.594 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.5906, allocations: 8 kB / 1.514 GB, free: 3.586 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.5906, allocations: 11.94 kB / 1.514 GB, free: 3.574 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.5913, allocations: 281.5 kB / 1.515 GB, free: 3.297 MB / 1.201 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.001766/0.5931, allocations: 0.9317 MB / 1.516 GB, free: 2.316 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/0.594, allocations: 224.5 kB / 1.516 GB, free: 2.09 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.5944, allocations: 136.8 kB / 1.516 GB, free: 1.953 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005364/0.5949, allocations: 79.91 kB / 1.516 GB, free: 1.875 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.595, allocations: 42.5 kB / 1.516 GB, free: 1.824 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.595, allocations: 0 / 1.516 GB, free: 1.824 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001275/0.5962, allocations: 405.2 kB / 1.516 GB, free: 1.422 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.5963, allocations: 59.34 kB / 1.516 GB, free: 1.352 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.5965, allocations: 217.1 kB / 1.517 GB, free: 1.133 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.5966, allocations: 29.7 kB / 1.517 GB, free: 1.098 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.5967, allocations: 176.3 kB / 1.517 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.5968, allocations: 63.44 kB / 1.517 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.5969, allocations: 49.66 kB / 1.517 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.597, allocations: 330.8 kB / 1.517 GB, free: 484 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.5973, allocations: 107.9 kB / 1.517 GB, free: 376 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.5978, allocations: 248.6 kB / 1.518 GB, free: 88 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.5985, allocations: 268.5 kB / 1.518 GB, free: 15.81 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5985, allocations: 0 / 1.518 GB, free: 15.81 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007927/0.5993, allocations: 321.2 kB / 1.518 GB, free: 15.49 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5993, allocations: 4 kB / 1.518 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5993, allocations: 0 / 1.518 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5993, allocations: 7.938 kB / 1.518 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.5996, allocations: 55.89 kB / 1.518 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5996, allocations: 11.92 kB / 1.518 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.5998, allocations: 39.98 kB / 1.518 GB, free: 15.37 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.5999, allocations: 12 kB / 1.518 GB, free: 15.36 MB / 1.217 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.0001737/0.6, allocations: 145.8 kB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.6001, allocations: 27.8 kB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008338/0.6009, allocations: 314.3 kB / 1.519 GB, free: 14.87 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.6009, allocations: 8 kB / 1.519 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6009, allocations: 3.938 kB / 1.519 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6009, allocations: 48 / 1.519 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.6025, allocations: 0.7195 MB / 1.519 GB, free: 14.08 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.485e-06/0.6025, allocations: 7.984 kB / 1.519 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.6028, allocations: 43.91 kB / 1.52 GB, free: 14.03 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.6028, allocations: 4 kB / 1.52 GB, free: 14.03 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.6028, allocations: 8.062 kB / 1.52 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.6028, allocations: 8 kB / 1.52 GB, free: 14.01 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6028, allocations: 3.984 kB / 1.52 GB, free: 14.01 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.604, allocations: 0.555 MB / 1.52 GB, free: 13.42 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.6041, allocations: 47.77 kB / 1.52 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.6042, allocations: 8.062 kB / 1.52 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.6044, allocations: 15.98 kB / 1.52 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.6045, allocations: 19.97 kB / 1.52 GB, free: 13.33 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.6045, allocations: 15.98 kB / 1.52 GB, free: 13.31 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001566/0.6046, allocations: 160.4 kB / 1.52 GB, free: 13.16 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6046, allocations: 0 / 1.52 GB, free: 13.16 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004773/0.6051, allocations: 119.6 kB / 1.52 GB, free: 13.04 MB / 1.217 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.0004007/0.6055, allocations: 186.9 kB / 1.521 GB, free: 12.85 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000756/0.6063, allocations: 239.7 kB / 1.521 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6063, allocations: 0 / 1.521 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.6067, allocations: 140.3 kB / 1.521 GB, free: 12.48 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.6073, allocations: 106.1 kB / 1.521 GB, free: 12.38 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.6086, allocations: 0.6425 MB / 1.522 GB, free: 11.69 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.6088, allocations: 171.1 kB / 1.522 GB, free: 11.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.6089, allocations: 31.38 kB / 1.522 GB, free: 11.47 MB / 1.217 GB Notification: Performance of SimCode: time 7.42e-07/0.6089, allocations: 0 / 1.522 GB, free: 11.47 MB / 1.217 GB Notification: Performance of Templates: time 0.009084/0.618, allocations: 4.861 MB / 1.527 GB, free: 6.641 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.617786885239184]