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.001327/0.001327, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001457/0.001457, allocations: 160 kB / 23.01 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.886/2.886, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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.002164/0.002164, allocations: 59.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9476/0.9498, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2225/1.172, allocations: 145.8 MB / 1.329 GB, free: 4.133 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003837/1.176, allocations: 1.481 MB / 1.33 GB, free: 2.648 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006123/1.177, allocations: 11.88 kB / 1.33 GB, free: 2.637 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008919/1.178, allocations: 150.9 kB / 1.331 GB, free: 2.488 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/1.18, allocations: 469.9 kB / 1.331 GB, free: 2.027 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/1.182, allocations: 0.7723 MB / 1.332 GB, free: 1.258 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001281/1.183, allocations: 0.7059 MB / 1.332 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/1.184, allocations: 217.3 kB / 1.333 GB, free: 352 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/1.185, allocations: 486.4 kB / 1.333 GB, free: 15.87 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/1.186, allocations: 223.1 kB / 1.333 GB, free: 15.65 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.504e-05/1.186, allocations: 27.94 kB / 1.333 GB, free: 15.62 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/1.188, allocations: 0.7364 MB / 1.334 GB, free: 14.88 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/1.188, allocations: 111.6 kB / 1.334 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002963/1.188, allocations: 135.4 kB / 1.334 GB, free: 14.64 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/1.19, allocations: 0.7202 MB / 1.335 GB, free: 13.92 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.19, allocations: 0 / 1.335 GB, free: 13.92 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.214e-06/1.19, allocations: 0 / 1.335 GB, free: 13.92 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.528e-05/1.19, allocations: 0 / 1.335 GB, free: 13.92 MB / 1.186 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.001572/1.192, allocations: 0.6134 MB / 1.336 GB, free: 13.28 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.192, allocations: 8.031 kB / 1.336 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/1.192, allocations: 87.64 kB / 1.336 GB, free: 13.18 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/1.193, allocations: 256.6 kB / 1.336 GB, free: 12.91 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/1.193, allocations: 16.5 kB / 1.336 GB, free: 12.89 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/1.193, allocations: 24 kB / 1.336 GB, free: 12.87 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/1.194, allocations: 361.2 kB / 1.336 GB, free: 12.49 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/1.194, allocations: 8 kB / 1.336 GB, free: 12.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/1.194, allocations: 4 kB / 1.336 GB, free: 12.48 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/1.194, allocations: 15.88 kB / 1.336 GB, free: 12.46 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/1.195, allocations: 281.7 kB / 1.337 GB, free: 12.19 MB / 1.186 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.001958/1.197, allocations: 0.9245 MB / 1.338 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/1.197, allocations: 234.5 kB / 1.338 GB, free: 10.98 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/1.198, allocations: 128.8 kB / 1.338 GB, free: 10.85 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/1.198, allocations: 83.91 kB / 1.338 GB, free: 10.77 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/1.198, allocations: 38.56 kB / 1.338 GB, free: 10.72 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/1.198, allocations: 0 / 1.338 GB, free: 10.72 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.00131/1.2, allocations: 405.2 kB / 1.338 GB, free: 10.32 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.2, allocations: 59.34 kB / 1.338 GB, free: 10.25 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/1.2, allocations: 221.9 kB / 1.339 GB, free: 10.02 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/1.2, allocations: 25.7 kB / 1.339 GB, free: 9.988 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/1.2, allocations: 176.3 kB / 1.339 GB, free: 9.812 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/1.2, allocations: 67.42 kB / 1.339 GB, free: 9.746 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/1.2, allocations: 53.59 kB / 1.339 GB, free: 9.688 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.201, allocations: 338.8 kB / 1.339 GB, free: 9.348 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/1.201, allocations: 103.9 kB / 1.339 GB, free: 9.246 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/1.201, allocations: 238.9 kB / 1.34 GB, free: 8.973 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/1.202, allocations: 266.6 kB / 1.34 GB, free: 8.695 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.202, allocations: 0 / 1.34 GB, free: 8.695 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008026/1.203, allocations: 319.3 kB / 1.34 GB, free: 8.379 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.203, allocations: 4.625 kB / 1.34 GB, free: 8.375 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.203, allocations: 0 / 1.34 GB, free: 8.375 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.203, allocations: 4 kB / 1.34 GB, free: 8.371 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/1.203, allocations: 60.05 kB / 1.34 GB, free: 8.312 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.203, allocations: 11.94 kB / 1.34 GB, free: 8.301 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/1.203, allocations: 35.86 kB / 1.34 GB, free: 8.266 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/1.203, allocations: 8 kB / 1.34 GB, free: 8.258 MB / 1.186 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.0001742/1.204, allocations: 149.7 kB / 1.34 GB, free: 8.102 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/1.204, allocations: 27.84 kB / 1.34 GB, free: 8.074 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008498/1.205, allocations: 319.6 kB / 1.341 GB, free: 7.754 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.205, allocations: 7.938 kB / 1.341 GB, free: 7.746 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.205, allocations: 3.938 kB / 1.341 GB, free: 7.742 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.205, allocations: 0 / 1.341 GB, free: 7.742 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/1.206, allocations: 0.7057 MB / 1.341 GB, free: 6.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.206, allocations: 7.938 kB / 1.341 GB, free: 6.973 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/1.206, allocations: 39.97 kB / 1.342 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.206, allocations: 4 kB / 1.342 GB, free: 6.93 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/1.206, allocations: 12.19 kB / 1.342 GB, free: 6.918 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.206, allocations: 7.984 kB / 1.342 GB, free: 6.91 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.206, allocations: 3.938 kB / 1.342 GB, free: 6.906 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/1.208, allocations: 0.5565 MB / 1.342 GB, free: 6.316 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/1.208, allocations: 47.8 kB / 1.342 GB, free: 6.27 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/1.208, allocations: 7.938 kB / 1.342 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/1.208, allocations: 23.97 kB / 1.342 GB, free: 6.238 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/1.208, allocations: 23.91 kB / 1.342 GB, free: 6.215 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/1.208, allocations: 8 kB / 1.342 GB, free: 6.207 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001531/1.208, allocations: 157.2 kB / 1.342 GB, free: 6.055 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.208, allocations: 4 kB / 1.342 GB, free: 6.051 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005286/1.209, allocations: 115.6 kB / 1.342 GB, free: 5.938 MB / 1.186 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.0003816/1.209, allocations: 203 kB / 1.343 GB, free: 5.73 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000782/1.21, allocations: 250.2 kB / 1.343 GB, free: 5.488 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.21, allocations: 0 / 1.343 GB, free: 5.488 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/1.21, allocations: 123.8 kB / 1.343 GB, free: 5.367 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006498/1.211, allocations: 98.97 kB / 1.343 GB, free: 5.273 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/1.212, allocations: 0.6034 MB / 1.344 GB, free: 4.629 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/1.212, allocations: 179.1 kB / 1.344 GB, free: 4.434 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002291/1.213, allocations: 57.92 kB / 1.344 GB, free: 4.375 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/1.213, allocations: 28.48 kB / 1.344 GB, free: 4.344 MB / 1.186 GB Notification: Performance of SimCode: time 7.21e-07/1.213, allocations: 0 / 1.344 GB, free: 4.344 MB / 1.186 GB Notification: Performance of Templates: time 0.01178/1.225, allocations: 5.322 MB / 1.349 GB, free: 15.14 MB / 1.201 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 -s ida -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: 9.28031673899386]