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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 186.4 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.884/2.884, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 75.5 kB / 1.145 GB, free: 30.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.311, allocations: 174.9 MB / 1.316 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1798/0.4908, allocations: 166 MB / 1.478 GB, free: 3.051 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.4939, allocations: 1.569 MB / 1.48 GB, free: 1.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.4941, allocations: 15.88 kB / 1.48 GB, free: 1.465 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.4945, allocations: 150.9 kB / 1.48 GB, free: 1.316 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.4958, allocations: 493.8 kB / 1.48 GB, free: 0.832 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.4975, allocations: 0.8052 MB / 1.481 GB, free: 28 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000793/0.4983, allocations: 0.7137 MB / 1.482 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.4987, allocations: 204.1 kB / 1.482 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.4996, allocations: 486.3 kB / 1.482 GB, free: 14.63 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.4999, allocations: 235.1 kB / 1.483 GB, free: 14.4 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.5, allocations: 27.94 kB / 1.483 GB, free: 14.38 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.5014, allocations: 0.912 MB / 1.484 GB, free: 13.46 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.5015, allocations: 127.6 kB / 1.484 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.5017, allocations: 155.3 kB / 1.484 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.5029, allocations: 0.7398 MB / 1.485 GB, free: 12.44 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5029, allocations: 0 / 1.485 GB, free: 12.44 MB / 1.186 GB Notification: Performance of FrontEnd: time 9.41e-07/0.5029, allocations: 0 / 1.485 GB, free: 12.44 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.5029, allocations: 4 kB / 1.485 GB, free: 12.44 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.001113/0.504, allocations: 0.6095 MB / 1.485 GB, free: 11.8 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.5041, allocations: 12.03 kB / 1.485 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004897/0.5045, allocations: 91.67 kB / 1.485 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.505, allocations: 252.1 kB / 1.486 GB, free: 11.42 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.505, allocations: 20.5 kB / 1.486 GB, free: 11.4 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.5051, allocations: 24 kB / 1.486 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.5058, allocations: 327.4 kB / 1.486 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5058, allocations: 3.938 kB / 1.486 GB, free: 11.04 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.5058, allocations: 8 kB / 1.486 GB, free: 11.04 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5058, allocations: 11.94 kB / 1.486 GB, free: 11.02 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.5066, allocations: 281.5 kB / 1.486 GB, free: 10.75 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.001677/0.5082, allocations: 1.036 MB / 1.487 GB, free: 9.652 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/0.5092, allocations: 230.6 kB / 1.487 GB, free: 9.418 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.5095, allocations: 136.7 kB / 1.488 GB, free: 9.281 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005425/0.5101, allocations: 99.89 kB / 1.488 GB, free: 9.184 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5101, allocations: 30.56 kB / 1.488 GB, free: 9.145 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.5101, allocations: 0 / 1.488 GB, free: 9.145 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001274/0.5114, allocations: 410.7 kB / 1.488 GB, free: 8.738 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.5114, allocations: 51.41 kB / 1.488 GB, free: 8.676 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.5117, allocations: 268.2 kB / 1.488 GB, free: 8.41 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.5117, allocations: 29.7 kB / 1.488 GB, free: 8.375 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5118, allocations: 176.4 kB / 1.489 GB, free: 8.199 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.5119, allocations: 63.44 kB / 1.489 GB, free: 8.137 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.512, allocations: 49.66 kB / 1.489 GB, free: 8.082 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5122, allocations: 338.8 kB / 1.489 GB, free: 7.742 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.5125, allocations: 103.9 kB / 1.489 GB, free: 7.641 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.5129, allocations: 167.5 kB / 1.489 GB, free: 7.457 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.5136, allocations: 266.5 kB / 1.489 GB, free: 7.18 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5136, allocations: 4 kB / 1.489 GB, free: 7.176 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007726/0.5143, allocations: 318.7 kB / 1.49 GB, free: 6.859 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5144, allocations: 8 kB / 1.49 GB, free: 6.852 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5144, allocations: 0 / 1.49 GB, free: 6.852 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5144, allocations: 7.938 kB / 1.49 GB, free: 6.844 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.5147, allocations: 59.89 kB / 1.49 GB, free: 6.785 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.5147, allocations: 4 kB / 1.49 GB, free: 6.781 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.5149, allocations: 47.88 kB / 1.49 GB, free: 6.734 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.515, allocations: 8 kB / 1.49 GB, free: 6.727 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.0001557/0.5151, allocations: 149.8 kB / 1.49 GB, free: 6.57 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.5152, allocations: 27.81 kB / 1.49 GB, free: 6.543 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000827/0.516, allocations: 320.9 kB / 1.49 GB, free: 6.219 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.516, allocations: 7.875 kB / 1.49 GB, free: 6.211 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.516, allocations: 0 / 1.49 GB, free: 6.211 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.516, allocations: 4 kB / 1.49 GB, free: 6.207 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.5176, allocations: 0.8217 MB / 1.491 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5176, allocations: 4 kB / 1.491 GB, free: 5.301 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.5179, allocations: 60.08 kB / 1.491 GB, free: 5.242 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5179, allocations: 4 kB / 1.491 GB, free: 5.238 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.5179, allocations: 4 kB / 1.491 GB, free: 5.234 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5179, allocations: 0 / 1.491 GB, free: 5.234 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5179, allocations: 4 kB / 1.491 GB, free: 5.23 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.5191, allocations: 0.56 MB / 1.492 GB, free: 4.637 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.5193, allocations: 59.75 kB / 1.492 GB, free: 4.578 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.5193, allocations: 4 kB / 1.492 GB, free: 4.574 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.5195, allocations: 23.97 kB / 1.492 GB, free: 4.551 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.5196, allocations: 23.91 kB / 1.492 GB, free: 4.527 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.5196, allocations: 4 kB / 1.492 GB, free: 4.523 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002386/0.5199, allocations: 199.1 kB / 1.492 GB, free: 4.328 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5199, allocations: 3.938 kB / 1.492 GB, free: 4.324 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004113/0.5203, allocations: 107.8 kB / 1.492 GB, free: 4.219 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.000435/0.5207, allocations: 198.2 kB / 1.492 GB, free: 4.023 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007342/0.5214, allocations: 251.7 kB / 1.493 GB, free: 3.777 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5215, allocations: 0 / 1.493 GB, free: 3.777 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.5218, allocations: 136.5 kB / 1.493 GB, free: 3.645 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.5226, allocations: 129.1 kB / 1.493 GB, free: 3.523 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.5236, allocations: 0.6152 MB / 1.494 GB, free: 2.859 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.524, allocations: 0.7832 MB / 1.494 GB, free: 2.051 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.5242, allocations: 62.25 kB / 1.494 GB, free: 1.988 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.5243, allocations: 31.42 kB / 1.494 GB, free: 1.957 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/0.5243, allocations: 7.938 kB / 1.494 GB, free: 1.949 MB / 1.186 GB Notification: Performance of Templates: time 0.01156/0.5359, allocations: 6.123 MB / 1.5 GB, free: 11.91 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 -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/jenkins/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: 8.226948514580727]