Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001423/0.001423, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001669/0.001669, allocations: 216.4 kB / 22.25 MB, free: 4.852 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.332/3.332, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002131/0.002131, allocations: 71.39 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4313, allocations: 176.1 MB / 1.326 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2301/0.6615, allocations: 145.7 MB / 1.468 GB, free: 15.51 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004/0.6655, allocations: 1.481 MB / 1.469 GB, free: 14.03 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.6659, allocations: 11.88 kB / 1.469 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.6665, allocations: 146.9 kB / 1.469 GB, free: 13.87 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.6682, allocations: 473.9 kB / 1.47 GB, free: 13.41 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.6706, allocations: 0.7655 MB / 1.471 GB, free: 12.64 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.6716, allocations: 0.7175 MB / 1.471 GB, free: 11.92 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004404/0.672, allocations: 215 kB / 1.472 GB, free: 11.71 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.6731, allocations: 478.4 kB / 1.472 GB, free: 11.24 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.6734, allocations: 223 kB / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.6735, allocations: 24 kB / 1.472 GB, free: 11 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.675, allocations: 0.7403 MB / 1.473 GB, free: 10.25 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.6752, allocations: 119.6 kB / 1.473 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.6753, allocations: 131.4 kB / 1.473 GB, free: 10.01 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.6765, allocations: 0.7165 MB / 1.474 GB, free: 9.289 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6765, allocations: 0 / 1.474 GB, free: 9.289 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6766, allocations: 0 / 1.474 GB, free: 9.289 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.6766, allocations: 0 / 1.474 GB, free: 9.289 MB / 1.17 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.001517/0.6781, allocations: 0.6184 MB / 1.475 GB, free: 8.641 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6781, allocations: 16.03 kB / 1.475 GB, free: 8.625 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.6786, allocations: 83.69 kB / 1.475 GB, free: 8.543 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.6792, allocations: 252.2 kB / 1.475 GB, free: 8.266 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.6792, allocations: 20.5 kB / 1.475 GB, free: 8.246 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.6793, allocations: 20 kB / 1.475 GB, free: 8.227 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.68, allocations: 357 kB / 1.475 GB, free: 7.859 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.68, allocations: 0 / 1.475 GB, free: 7.859 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.68, allocations: 12 kB / 1.475 GB, free: 7.848 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.68, allocations: 7.938 kB / 1.475 GB, free: 7.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007622/0.6808, allocations: 289.5 kB / 1.476 GB, free: 7.559 MB / 1.17 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.001803/0.6826, allocations: 0.924 MB / 1.476 GB, free: 6.586 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008962/0.6835, allocations: 238.5 kB / 1.477 GB, free: 6.344 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.6839, allocations: 124.8 kB / 1.477 GB, free: 6.219 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.6844, allocations: 87.89 kB / 1.477 GB, free: 6.133 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.6844, allocations: 42.5 kB / 1.477 GB, free: 6.082 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.6844, allocations: 0 / 1.477 GB, free: 6.082 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001277/0.6857, allocations: 398.6 kB / 1.477 GB, free: 5.688 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.6858, allocations: 59.34 kB / 1.477 GB, free: 5.617 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.686, allocations: 221.1 kB / 1.478 GB, free: 5.395 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.6861, allocations: 29.7 kB / 1.478 GB, free: 5.359 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.6863, allocations: 180.2 kB / 1.478 GB, free: 5.18 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.6864, allocations: 71.36 kB / 1.478 GB, free: 5.109 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.6865, allocations: 45.7 kB / 1.478 GB, free: 5.059 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002439/0.6867, allocations: 330.8 kB / 1.478 GB, free: 4.727 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.687, allocations: 107.9 kB / 1.478 GB, free: 4.621 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.6876, allocations: 240.8 kB / 1.479 GB, free: 4.348 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.6882, allocations: 274.8 kB / 1.479 GB, free: 4.062 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6882, allocations: 0 / 1.479 GB, free: 4.062 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007619/0.689, allocations: 311 kB / 1.479 GB, free: 3.754 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.689, allocations: 4 kB / 1.479 GB, free: 3.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.689, allocations: 4.047 kB / 1.479 GB, free: 3.746 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.689, allocations: 3.984 kB / 1.479 GB, free: 3.742 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.6893, allocations: 63.89 kB / 1.479 GB, free: 3.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.6893, allocations: 3.938 kB / 1.479 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.6896, allocations: 39.98 kB / 1.479 GB, free: 3.637 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.6896, allocations: 8 kB / 1.479 GB, free: 3.629 MB / 1.17 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.0001907/0.6898, allocations: 161.7 kB / 1.479 GB, free: 3.461 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.6899, allocations: 27.81 kB / 1.479 GB, free: 3.434 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009311/0.6908, allocations: 311.5 kB / 1.48 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.6908, allocations: 4 kB / 1.48 GB, free: 3.117 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.6908, allocations: 3.938 kB / 1.48 GB, free: 3.113 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6908, allocations: 0 / 1.48 GB, free: 3.113 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.6924, allocations: 0.7135 MB / 1.48 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6924, allocations: 0 / 1.48 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.6927, allocations: 51.95 kB / 1.48 GB, free: 2.293 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.6927, allocations: 4 kB / 1.48 GB, free: 2.289 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.6927, allocations: 0 / 1.48 GB, free: 2.289 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6927, allocations: 4.062 kB / 1.48 GB, free: 2.285 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.6927, allocations: 11.94 kB / 1.48 GB, free: 2.273 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.6939, allocations: 0.5527 MB / 1.481 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.694, allocations: 55.8 kB / 1.481 GB, free: 1.633 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.6941, allocations: 8.062 kB / 1.481 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.6943, allocations: 23.97 kB / 1.481 GB, free: 1.602 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.6944, allocations: 27.84 kB / 1.481 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.6944, allocations: 4 kB / 1.481 GB, free: 1.57 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001666/0.6946, allocations: 160.5 kB / 1.481 GB, free: 1.41 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6946, allocations: 3.938 kB / 1.481 GB, free: 1.406 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006106/0.6952, allocations: 123.6 kB / 1.481 GB, free: 1.285 MB / 1.17 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.0004344/0.6956, allocations: 182.9 kB / 1.482 GB, free: 1.098 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007458/0.6964, allocations: 249.7 kB / 1.482 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6964, allocations: 0 / 1.482 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.6967, allocations: 132.3 kB / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.6974, allocations: 97.64 kB / 1.482 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.6987, allocations: 0.6114 MB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.6989, allocations: 171 kB / 1.483 GB, free: 15.79 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.6991, allocations: 57.89 kB / 1.483 GB, free: 15.73 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.6992, allocations: 27.44 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of SimCode: time 3.61e-07/0.6992, allocations: 0 / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of Templates: time 0.01263/0.7118, allocations: 5.698 MB / 1.488 GB, free: 10.12 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.168571911752224]