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.001404/0.001404, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001584/0.001584, allocations: 213.5 kB / 22.24 MB, free: 5.266 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.773 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.435/3.435, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.0021/0.0021, allocations: 70.34 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.424, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2063/0.6303, allocations: 145.8 MB / 1.506 GB, free: 11.27 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003527/0.6338, allocations: 1.473 MB / 1.508 GB, free: 9.797 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.6341, allocations: 11.88 kB / 1.508 GB, free: 9.785 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.6347, allocations: 154.9 kB / 1.508 GB, free: 9.633 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.6361, allocations: 477.9 kB / 1.508 GB, free: 9.164 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.6383, allocations: 0.762 MB / 1.509 GB, free: 8.402 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009193/0.6392, allocations: 0.7097 MB / 1.51 GB, free: 7.691 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.6396, allocations: 207 kB / 1.51 GB, free: 7.484 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.6407, allocations: 490.3 kB / 1.51 GB, free: 7.004 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.641, allocations: 219.1 kB / 1.511 GB, free: 6.789 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.6411, allocations: 24 kB / 1.511 GB, free: 6.766 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.6424, allocations: 0.7364 MB / 1.511 GB, free: 6.027 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.6426, allocations: 115.6 kB / 1.511 GB, free: 5.914 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.6427, allocations: 127.5 kB / 1.512 GB, free: 5.789 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.6439, allocations: 0.7242 MB / 1.512 GB, free: 5.062 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6439, allocations: 0 / 1.512 GB, free: 5.062 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6439, allocations: 0 / 1.512 GB, free: 5.062 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.6439, allocations: 0 / 1.512 GB, free: 5.062 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.001293/0.6452, allocations: 0.6095 MB / 1.513 GB, free: 4.422 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6453, allocations: 12.03 kB / 1.513 GB, free: 4.41 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.6458, allocations: 91.64 kB / 1.513 GB, free: 4.32 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.6463, allocations: 248.1 kB / 1.513 GB, free: 4.055 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.6463, allocations: 20.5 kB / 1.513 GB, free: 4.035 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.6463, allocations: 28 kB / 1.513 GB, free: 4.008 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007485/0.6471, allocations: 361 kB / 1.514 GB, free: 3.637 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.6471, allocations: 7.922 kB / 1.514 GB, free: 3.629 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.6471, allocations: 8 kB / 1.514 GB, free: 3.621 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.6472, allocations: 7.938 kB / 1.514 GB, free: 3.613 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007381/0.6479, allocations: 285.5 kB / 1.514 GB, free: 3.332 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.001726/0.6496, allocations: 0.9239 MB / 1.515 GB, free: 2.359 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008934/0.6505, allocations: 238.6 kB / 1.515 GB, free: 2.117 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.6509, allocations: 124.8 kB / 1.515 GB, free: 1.992 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/0.6514, allocations: 87.89 kB / 1.515 GB, free: 1.906 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.6514, allocations: 34.56 kB / 1.515 GB, free: 1.863 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.6514, allocations: 0 / 1.515 GB, free: 1.863 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.00129/0.6527, allocations: 406.5 kB / 1.516 GB, free: 1.461 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.6528, allocations: 59.34 kB / 1.516 GB, free: 1.391 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.653, allocations: 225.1 kB / 1.516 GB, free: 1.164 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.653, allocations: 25.7 kB / 1.516 GB, free: 1.133 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.6532, allocations: 180.3 kB / 1.516 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.6533, allocations: 63.44 kB / 1.516 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.6533, allocations: 45.66 kB / 1.516 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6535, allocations: 338.8 kB / 1.517 GB, free: 0.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.6538, allocations: 103.9 kB / 1.517 GB, free: 408 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.6542, allocations: 248.8 kB / 1.517 GB, free: 120 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.6549, allocations: 271 kB / 1.517 GB, free: 15.84 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6549, allocations: 0 / 1.517 GB, free: 15.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007779/0.6557, allocations: 311.9 kB / 1.517 GB, free: 15.53 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.6557, allocations: 8.031 kB / 1.517 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.6557, allocations: 4 kB / 1.517 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.6558, allocations: 7.938 kB / 1.517 GB, free: 15.51 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.6561, allocations: 59.89 kB / 1.517 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.6561, allocations: 3.938 kB / 1.517 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.6563, allocations: 35.86 kB / 1.518 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.6563, allocations: 8 kB / 1.518 GB, free: 15.4 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.0001857/0.6565, allocations: 158.8 kB / 1.518 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.6566, allocations: 23.86 kB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/0.6574, allocations: 307.5 kB / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6574, allocations: 0 / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6574, allocations: 3.938 kB / 1.518 GB, free: 14.9 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.6574, allocations: 7.984 kB / 1.518 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.659, allocations: 0.7137 MB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.659, allocations: 0 / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.6592, allocations: 51.89 kB / 1.519 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.6593, allocations: 8.031 kB / 1.519 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.6593, allocations: 4 kB / 1.519 GB, free: 14.06 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6593, allocations: 4 kB / 1.519 GB, free: 14.06 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6593, allocations: 4.062 kB / 1.519 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.6605, allocations: 0.557 MB / 1.519 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.6606, allocations: 47.8 kB / 1.519 GB, free: 13.42 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.6606, allocations: 11.94 kB / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.6609, allocations: 23.97 kB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.6609, allocations: 24.03 kB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.661, allocations: 4 kB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001472/0.6611, allocations: 160.5 kB / 1.52 GB, free: 13.2 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6611, allocations: 0 / 1.52 GB, free: 13.2 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004925/0.6616, allocations: 127.5 kB / 1.52 GB, free: 13.07 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.0003774/0.662, allocations: 182.9 kB / 1.52 GB, free: 12.89 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007445/0.6627, allocations: 251.7 kB / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6627, allocations: 0 / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.6631, allocations: 132.5 kB / 1.52 GB, free: 12.51 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.6638, allocations: 99.36 kB / 1.52 GB, free: 12.42 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.6649, allocations: 0.6075 MB / 1.521 GB, free: 11.77 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.6651, allocations: 175.1 kB / 1.521 GB, free: 11.58 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.6653, allocations: 53.91 kB / 1.521 GB, free: 11.53 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.6654, allocations: 23.44 kB / 1.521 GB, free: 11.5 MB / 1.217 GB Notification: Performance of SimCode: time 6.31e-07/0.6654, allocations: 0 / 1.521 GB, free: 11.5 MB / 1.217 GB Notification: Performance of Templates: time 0.01208/0.6775, allocations: 5.717 MB / 1.527 GB, free: 5.891 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/jenkins/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: 9.998065708205104]