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.001283/0.001283, 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.001454/0.001454, allocations: 216.5 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.751/2.751, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] 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.002054/0.002054, allocations: 65.89 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 169.9 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2191/0.593, allocations: 168.9 MB / 1.45 GB, free: 1.723 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.5963, allocations: 1.561 MB / 1.451 GB, free: 164 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.5967, allocations: 15.88 kB / 1.451 GB, free: 148 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.5972, allocations: 142.9 kB / 1.451 GB, free: 4 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.5987, allocations: 489.9 kB / 1.452 GB, free: 15.52 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.6009, allocations: 0.804 MB / 1.452 GB, free: 14.72 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.6019, allocations: 0.7254 MB / 1.453 GB, free: 13.99 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.6023, allocations: 207 kB / 1.453 GB, free: 13.79 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006101/0.6029, allocations: 318.9 kB / 1.454 GB, free: 13.47 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.6033, allocations: 239 kB / 1.454 GB, free: 13.24 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.6033, allocations: 28 kB / 1.454 GB, free: 13.21 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.6051, allocations: 0.9353 MB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.6052, allocations: 119.6 kB / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.6054, allocations: 167.1 kB / 1.455 GB, free: 11.99 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.6067, allocations: 0.7399 MB / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6067, allocations: 0 / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6067, allocations: 0 / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.6067, allocations: 0 / 1.456 GB, free: 11.25 MB / 1.154 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.001263/0.6079, allocations: 0.6173 MB / 1.456 GB, free: 10.6 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.608, allocations: 12.02 kB / 1.456 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005156/0.6085, allocations: 79.7 kB / 1.457 GB, free: 10.51 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.609, allocations: 256.1 kB / 1.457 GB, free: 10.24 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.609, allocations: 20.5 kB / 1.457 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.6091, allocations: 24 kB / 1.457 GB, free: 10.19 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.6098, allocations: 331.3 kB / 1.457 GB, free: 9.859 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.6098, allocations: 4 kB / 1.457 GB, free: 9.855 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.6098, allocations: 8 kB / 1.457 GB, free: 9.848 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.6098, allocations: 11.94 kB / 1.457 GB, free: 9.836 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000731/0.6106, allocations: 281.5 kB / 1.457 GB, free: 9.562 MB / 1.154 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.001868/0.6124, allocations: 1.032 MB / 1.458 GB, free: 8.473 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009021/0.6133, allocations: 240.1 kB / 1.459 GB, free: 8.23 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.6137, allocations: 124.8 kB / 1.459 GB, free: 8.105 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005652/0.6142, allocations: 91.91 kB / 1.459 GB, free: 8.016 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.6143, allocations: 42.5 kB / 1.459 GB, free: 7.965 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.6143, allocations: 0 / 1.459 GB, free: 7.965 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001278/0.6156, allocations: 411.5 kB / 1.459 GB, free: 7.559 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.6156, allocations: 55.39 kB / 1.459 GB, free: 7.492 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.6159, allocations: 268.2 kB / 1.46 GB, free: 7.219 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.6159, allocations: 29.7 kB / 1.46 GB, free: 7.184 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.6161, allocations: 164.5 kB / 1.46 GB, free: 7.02 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.6162, allocations: 83.36 kB / 1.46 GB, free: 6.938 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.6163, allocations: 41.7 kB / 1.46 GB, free: 6.891 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6164, allocations: 342.8 kB / 1.46 GB, free: 6.547 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.6167, allocations: 99.91 kB / 1.46 GB, free: 6.449 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.6171, allocations: 169.8 kB / 1.46 GB, free: 6.262 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.6177, allocations: 260.8 kB / 1.461 GB, free: 5.988 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6177, allocations: 0 / 1.461 GB, free: 5.988 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007437/0.6185, allocations: 327.2 kB / 1.461 GB, free: 5.664 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6185, allocations: 8 kB / 1.461 GB, free: 5.656 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6185, allocations: 0 / 1.461 GB, free: 5.656 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.6185, allocations: 7.938 kB / 1.461 GB, free: 5.648 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.6188, allocations: 51.91 kB / 1.461 GB, free: 5.598 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.6188, allocations: 12.14 kB / 1.461 GB, free: 5.586 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.6191, allocations: 39.8 kB / 1.461 GB, free: 5.547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.6191, allocations: 8 kB / 1.461 GB, free: 5.539 MB / 1.154 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.0001682/0.6193, allocations: 153.7 kB / 1.461 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.6193, allocations: 27.81 kB / 1.461 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/0.6201, allocations: 323.4 kB / 1.462 GB, free: 5.023 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6201, allocations: 3.938 kB / 1.462 GB, free: 5.02 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6201, allocations: 0 / 1.462 GB, free: 5.02 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6201, allocations: 0 / 1.462 GB, free: 5.02 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.6218, allocations: 0.8256 MB / 1.462 GB, free: 4.113 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6218, allocations: 4.188 kB / 1.462 GB, free: 4.109 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.6221, allocations: 51.91 kB / 1.463 GB, free: 4.059 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.6221, allocations: 7.984 kB / 1.463 GB, free: 4.051 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.6221, allocations: 0 / 1.463 GB, free: 4.051 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6221, allocations: 4 kB / 1.463 GB, free: 4.047 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6221, allocations: 4 kB / 1.463 GB, free: 4.043 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.6232, allocations: 0.5605 MB / 1.463 GB, free: 3.449 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.6233, allocations: 51.8 kB / 1.463 GB, free: 3.398 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.6234, allocations: 8 kB / 1.463 GB, free: 3.391 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.6236, allocations: 23.97 kB / 1.463 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.6237, allocations: 27.91 kB / 1.463 GB, free: 3.34 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.6237, allocations: 8 kB / 1.463 GB, free: 3.332 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001961/0.6239, allocations: 195.1 kB / 1.463 GB, free: 3.145 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6239, allocations: 3.938 kB / 1.463 GB, free: 3.141 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004784/0.6244, allocations: 111.8 kB / 1.463 GB, free: 3.031 MB / 1.154 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.0003701/0.6247, allocations: 184.8 kB / 1.464 GB, free: 2.844 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007441/0.6255, allocations: 255.6 kB / 1.464 GB, free: 2.594 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.6255, allocations: 0 / 1.464 GB, free: 2.594 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.6258, allocations: 140.5 kB / 1.464 GB, free: 2.457 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007421/0.6266, allocations: 129.5 kB / 1.464 GB, free: 2.332 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.6278, allocations: 0.649 MB / 1.465 GB, free: 1.629 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.6282, allocations: 0.7793 MB / 1.466 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.6283, allocations: 31.44 kB / 1.466 GB, free: 0.793 MB / 1.154 GB Notification: Performance of SimCode: time 2.91e-07/0.6283, allocations: 0 / 1.466 GB, free: 0.793 MB / 1.154 GB Notification: Performance of Templates: time 0.008759/0.6371, allocations: 5.192 MB / 1.471 GB, free: 11.64 MB / 1.17 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/jenkins1/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: 12.391264776000753]