Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001605/0.001605, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002189/0.002189, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.905/2.905, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002152/0.002152, allocations: 66.28 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3741, allocations: 169.9 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2192/0.5934, allocations: 145.7 MB / 1.425 GB, free: 9.742 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004643/0.598, allocations: 1.489 MB / 1.427 GB, free: 8.254 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007149/0.5987, allocations: 19.81 kB / 1.427 GB, free: 8.234 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007971/0.5995, allocations: 143 kB / 1.427 GB, free: 8.094 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.6015, allocations: 477.9 kB / 1.427 GB, free: 7.625 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.6042, allocations: 0.7589 MB / 1.428 GB, free: 6.867 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.6057, allocations: 0.7175 MB / 1.429 GB, free: 6.145 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006631/0.6063, allocations: 203.1 kB / 1.429 GB, free: 5.945 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.6073, allocations: 330.8 kB / 1.429 GB, free: 5.621 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/0.6079, allocations: 227 kB / 1.43 GB, free: 5.398 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.592e-05/0.6079, allocations: 24 kB / 1.43 GB, free: 5.375 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.6098, allocations: 0.7441 MB / 1.43 GB, free: 4.629 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.61, allocations: 119.6 kB / 1.43 GB, free: 4.512 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.6102, allocations: 127.5 kB / 1.431 GB, free: 4.387 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.6121, allocations: 0.7165 MB / 1.431 GB, free: 3.668 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6121, allocations: 4 kB / 1.431 GB, free: 3.664 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6121, allocations: 0 / 1.431 GB, free: 3.664 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.6121, allocations: 0 / 1.431 GB, free: 3.664 MB / 1.123 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.001761/0.6139, allocations: 0.6172 MB / 1.432 GB, free: 3.016 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6139, allocations: 8.031 kB / 1.432 GB, free: 3.008 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006222/0.6145, allocations: 87.69 kB / 1.432 GB, free: 2.922 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.6151, allocations: 244.2 kB / 1.432 GB, free: 2.66 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.6152, allocations: 20.44 kB / 1.432 GB, free: 2.637 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.6152, allocations: 24 kB / 1.432 GB, free: 2.613 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008168/0.616, allocations: 369 kB / 1.433 GB, free: 2.238 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6161, allocations: 0 / 1.433 GB, free: 2.238 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.6161, allocations: 4 kB / 1.433 GB, free: 2.234 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.6161, allocations: 11.94 kB / 1.433 GB, free: 2.223 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/0.6169, allocations: 289.5 kB / 1.433 GB, free: 1.941 MB / 1.123 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.002001/0.6189, allocations: 0.9278 MB / 1.434 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/0.6199, allocations: 230.6 kB / 1.434 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.6203, allocations: 128.7 kB / 1.434 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.6209, allocations: 91.89 kB / 1.434 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.6209, allocations: 38.56 kB / 1.434 GB, free: 480 kB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.6209, allocations: 0 / 1.434 GB, free: 480 kB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001322/0.6222, allocations: 399.3 kB / 1.435 GB, free: 76 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.6223, allocations: 59.34 kB / 1.435 GB, free: 4 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.6226, allocations: 217.1 kB / 1.435 GB, free: 15.78 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.6226, allocations: 33.7 kB / 1.435 GB, free: 15.74 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.6228, allocations: 172.3 kB / 1.435 GB, free: 15.57 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.6229, allocations: 71.38 kB / 1.435 GB, free: 15.5 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.623, allocations: 49.64 kB / 1.435 GB, free: 15.45 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.6232, allocations: 334.8 kB / 1.436 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.6235, allocations: 107.8 kB / 1.436 GB, free: 15 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.6239, allocations: 245.5 kB / 1.436 GB, free: 14.73 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.6246, allocations: 266.7 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6246, allocations: 0 / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008672/0.6255, allocations: 313.2 kB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6255, allocations: 7.938 kB / 1.436 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6255, allocations: 8.156 kB / 1.436 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.6256, allocations: 0 / 1.436 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.6259, allocations: 59.89 kB / 1.436 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.6259, allocations: 7.938 kB / 1.436 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.6261, allocations: 35.86 kB / 1.437 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.6262, allocations: 8 kB / 1.437 GB, free: 14.01 MB / 1.139 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.0001989/0.6264, allocations: 153.8 kB / 1.437 GB, free: 13.85 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.6264, allocations: 23.86 kB / 1.437 GB, free: 13.83 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008602/0.6273, allocations: 314 kB / 1.437 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6273, allocations: 4 kB / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/0.6273, allocations: 11.98 kB / 1.437 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6273, allocations: 0 / 1.437 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.6289, allocations: 0.7121 MB / 1.438 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.629, allocations: 4.188 kB / 1.438 GB, free: 12.72 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.6292, allocations: 55.89 kB / 1.438 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6292, allocations: 0 / 1.438 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.6292, allocations: 8 kB / 1.438 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.6293, allocations: 7.984 kB / 1.438 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6293, allocations: 3.938 kB / 1.438 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.6305, allocations: 0.5509 MB / 1.438 GB, free: 12.06 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.6306, allocations: 47.8 kB / 1.438 GB, free: 12.02 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.6307, allocations: 8 kB / 1.438 GB, free: 12.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.6309, allocations: 20.02 kB / 1.438 GB, free: 11.99 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.631, allocations: 27.89 kB / 1.438 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.631, allocations: 12.06 kB / 1.438 GB, free: 11.95 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001788/0.6312, allocations: 160.5 kB / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6312, allocations: 0 / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005336/0.6317, allocations: 115.6 kB / 1.439 GB, free: 11.68 MB / 1.139 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.0004918/0.6322, allocations: 186.9 kB / 1.439 GB, free: 11.49 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0008044/0.633, allocations: 257.5 kB / 1.439 GB, free: 11.24 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.633, allocations: 4 kB / 1.439 GB, free: 11.23 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.6334, allocations: 132.5 kB / 1.439 GB, free: 11.11 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/0.6341, allocations: 96.34 kB / 1.439 GB, free: 11.01 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.6354, allocations: 0.5996 MB / 1.44 GB, free: 10.37 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.6356, allocations: 171.1 kB / 1.44 GB, free: 10.18 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.6358, allocations: 65.89 kB / 1.44 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.6359, allocations: 23.44 kB / 1.44 GB, free: 10.09 MB / 1.139 GB Notification: Performance of SimCode: time 4.81e-07/0.6359, allocations: 0 / 1.44 GB, free: 10.09 MB / 1.139 GB Notification: Performance of Templates: time 0.01284/0.6487, allocations: 5.707 MB / 1.446 GB, free: 4.504 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.113680347800255]