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.001492/0.001492, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001621/0.001621, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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 2.91/2.91, allocations: 0.49 GB / 0.7958 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 177] 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.001871/0.001871, allocations: 69.05 kB / 1.155 GB, free: 25.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2905, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1797/0.4703, allocations: 168.9 MB / 1.492 GB, free: 7.895 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.4731, allocations: 1.549 MB / 1.494 GB, free: 6.344 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.4734, allocations: 15.88 kB / 1.494 GB, free: 6.328 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.4738, allocations: 135 kB / 1.494 GB, free: 6.195 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.4749, allocations: 497.8 kB / 1.494 GB, free: 5.707 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.4767, allocations: 0.8096 MB / 1.495 GB, free: 4.898 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008498/0.4776, allocations: 0.7136 MB / 1.496 GB, free: 4.18 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.478, allocations: 216.7 kB / 1.496 GB, free: 3.965 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009001/0.4789, allocations: 486.3 kB / 1.496 GB, free: 3.488 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.4792, allocations: 239 kB / 1.497 GB, free: 3.254 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.4792, allocations: 24 kB / 1.497 GB, free: 3.23 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.4808, allocations: 0.9236 MB / 1.498 GB, free: 2.305 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.481, allocations: 115.6 kB / 1.498 GB, free: 2.191 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.4811, allocations: 155.3 kB / 1.498 GB, free: 2.039 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.4822, allocations: 0.7438 MB / 1.498 GB, free: 1.293 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4822, allocations: 7.875 kB / 1.499 GB, free: 1.285 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4822, allocations: 0 / 1.499 GB, free: 1.285 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4822, allocations: 0 / 1.499 GB, free: 1.285 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.001116/0.4833, allocations: 0.6173 MB / 1.499 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.4833, allocations: 8.031 kB / 1.499 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.4838, allocations: 87.69 kB / 1.499 GB, free: 0.543 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.4843, allocations: 252.1 kB / 1.499 GB, free: 272 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.4843, allocations: 16.5 kB / 1.499 GB, free: 256 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.4843, allocations: 31.92 kB / 1.499 GB, free: 224 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.485, allocations: 327.4 kB / 1.5 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.485, allocations: 4 kB / 1.5 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.485, allocations: 8 kB / 1.5 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.485, allocations: 11.94 kB / 1.5 GB, free: 15.86 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.4857, allocations: 285.5 kB / 1.5 GB, free: 15.59 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.001671/0.4874, allocations: 1.029 MB / 1.501 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.4882, allocations: 238.5 kB / 1.501 GB, free: 14.25 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.4885, allocations: 124.8 kB / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.4891, allocations: 83.91 kB / 1.502 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4891, allocations: 42.55 kB / 1.502 GB, free: 14 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.4891, allocations: 0 / 1.502 GB, free: 14 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.0012/0.4903, allocations: 414.5 kB / 1.502 GB, free: 13.59 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.4904, allocations: 55.34 kB / 1.502 GB, free: 13.52 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.4906, allocations: 268.2 kB / 1.502 GB, free: 13.25 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.4907, allocations: 29.7 kB / 1.502 GB, free: 13.21 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.4908, allocations: 168.5 kB / 1.502 GB, free: 13.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/0.4909, allocations: 75.36 kB / 1.503 GB, free: 12.97 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.491, allocations: 45.7 kB / 1.503 GB, free: 12.92 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4911, allocations: 334.8 kB / 1.503 GB, free: 12.59 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.4914, allocations: 103.9 kB / 1.503 GB, free: 12.48 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.4918, allocations: 161.9 kB / 1.503 GB, free: 12.3 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.4923, allocations: 270.2 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4924, allocations: 3.938 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007052/0.4931, allocations: 326.9 kB / 1.504 GB, free: 11.7 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4931, allocations: 9.875 kB / 1.504 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4931, allocations: 0 / 1.504 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4931, allocations: 8.094 kB / 1.504 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.4934, allocations: 59.89 kB / 1.504 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4934, allocations: 4 kB / 1.504 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.4936, allocations: 39.8 kB / 1.504 GB, free: 11.58 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.4936, allocations: 8 kB / 1.504 GB, free: 11.57 MB / 1.201 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.0001578/0.4938, allocations: 153.8 kB / 1.504 GB, free: 11.41 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.4939, allocations: 27.81 kB / 1.504 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/0.4946, allocations: 337.2 kB / 1.504 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4946, allocations: 3.938 kB / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4946, allocations: 0 / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4946, allocations: 0 / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.4962, allocations: 0.8295 MB / 1.505 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4962, allocations: 0 / 1.505 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.4964, allocations: 47.95 kB / 1.505 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4964, allocations: 4 kB / 1.505 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4965, allocations: 4 kB / 1.505 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-05/0.4965, allocations: 7.938 kB / 1.505 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4965, allocations: 4 kB / 1.505 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4975, allocations: 0.5626 MB / 1.506 GB, free: 9.469 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4977, allocations: 47.8 kB / 1.506 GB, free: 9.422 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.4977, allocations: 8 kB / 1.506 GB, free: 9.414 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.4979, allocations: 24.03 kB / 1.506 GB, free: 9.391 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.498, allocations: 23.91 kB / 1.506 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.498, allocations: 8 kB / 1.506 GB, free: 9.359 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000191/0.4982, allocations: 199.1 kB / 1.506 GB, free: 9.164 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.4982, allocations: 0 / 1.506 GB, free: 9.164 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004399/0.4986, allocations: 103.8 kB / 1.506 GB, free: 9.062 MB / 1.201 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.0003671/0.499, allocations: 194.9 kB / 1.506 GB, free: 8.863 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007028/0.4997, allocations: 258.8 kB / 1.507 GB, free: 8.613 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4997, allocations: 0 / 1.507 GB, free: 8.613 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.5, allocations: 136.2 kB / 1.507 GB, free: 8.48 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.5008, allocations: 128.7 kB / 1.507 GB, free: 8.359 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.5019, allocations: 0.6481 MB / 1.507 GB, free: 7.656 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.5023, allocations: 0.7755 MB / 1.508 GB, free: 6.855 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/0.5024, allocations: 31.42 kB / 1.508 GB, free: 6.824 MB / 1.201 GB Notification: Performance of SimCode: time 8.31e-07/0.5024, allocations: 3.938 kB / 1.508 GB, free: 6.82 MB / 1.201 GB Notification: Performance of Templates: time 0.008033/0.5105, allocations: 5.19 MB / 1.513 GB, free: 1.672 MB / 1.201 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/jenkins1/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: 11.116871612990508]