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.001315/0.001315, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001443/0.001443, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.184/3.184, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.00203/0.00203, allocations: 67.78 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3292, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.186/0.5151, allocations: 145.8 MB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.5182, allocations: 1.483 MB / 1.471 GB, free: 13.19 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.5184, allocations: 15.88 kB / 1.471 GB, free: 13.17 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.5188, allocations: 146.9 kB / 1.471 GB, free: 13.03 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.52, allocations: 469.9 kB / 1.471 GB, free: 12.57 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.5219, allocations: 0.7675 MB / 1.472 GB, free: 11.8 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008694/0.5227, allocations: 0.7292 MB / 1.473 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.5231, allocations: 203.1 kB / 1.473 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009176/0.524, allocations: 490.2 kB / 1.474 GB, free: 10.38 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.5243, allocations: 235.1 kB / 1.474 GB, free: 10.15 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.5244, allocations: 28 kB / 1.474 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.5256, allocations: 0.7442 MB / 1.475 GB, free: 9.379 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.5258, allocations: 115.6 kB / 1.475 GB, free: 9.266 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.5259, allocations: 139.4 kB / 1.475 GB, free: 9.129 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.527, allocations: 0.7203 MB / 1.476 GB, free: 8.406 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.527, allocations: 0 / 1.476 GB, free: 8.406 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.483e-06/0.527, allocations: 0 / 1.476 GB, free: 8.406 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.527, allocations: 0 / 1.476 GB, free: 8.406 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.001149/0.5281, allocations: 0.6134 MB / 1.476 GB, free: 7.762 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.5282, allocations: 8.031 kB / 1.476 GB, free: 7.754 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.5287, allocations: 87.69 kB / 1.476 GB, free: 7.668 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.5292, allocations: 256.1 kB / 1.476 GB, free: 7.387 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.5292, allocations: 16.5 kB / 1.476 GB, free: 7.371 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.5293, allocations: 24 kB / 1.476 GB, free: 7.348 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.53, allocations: 353.1 kB / 1.477 GB, free: 6.984 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.53, allocations: 0 / 1.477 GB, free: 6.984 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.5301, allocations: 15.98 kB / 1.477 GB, free: 6.969 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.5301, allocations: 11.94 kB / 1.477 GB, free: 6.957 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.5308, allocations: 281.5 kB / 1.477 GB, free: 6.684 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.00177/0.5326, allocations: 0.9239 MB / 1.478 GB, free: 5.711 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.5336, allocations: 239.4 kB / 1.478 GB, free: 5.469 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.5339, allocations: 124.8 kB / 1.478 GB, free: 5.344 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005976/0.5345, allocations: 83.91 kB / 1.478 GB, free: 5.262 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.5346, allocations: 38.56 kB / 1.478 GB, free: 5.215 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.5346, allocations: 3.938 kB / 1.478 GB, free: 5.211 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001314/0.5359, allocations: 406.9 kB / 1.479 GB, free: 4.809 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.5359, allocations: 59.34 kB / 1.479 GB, free: 4.738 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.5361, allocations: 217.1 kB / 1.479 GB, free: 4.52 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.5362, allocations: 33.7 kB / 1.479 GB, free: 4.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.5363, allocations: 172.2 kB / 1.479 GB, free: 4.309 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.5364, allocations: 67.38 kB / 1.479 GB, free: 4.242 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-05/0.5365, allocations: 49.7 kB / 1.479 GB, free: 4.188 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5366, allocations: 330.8 kB / 1.48 GB, free: 3.855 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.5369, allocations: 107.9 kB / 1.48 GB, free: 3.75 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.5374, allocations: 240.2 kB / 1.48 GB, free: 3.477 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.5381, allocations: 270.4 kB / 1.48 GB, free: 3.195 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5381, allocations: 0 / 1.48 GB, free: 3.195 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007779/0.5389, allocations: 322.8 kB / 1.481 GB, free: 2.875 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.5389, allocations: 4 kB / 1.481 GB, free: 2.871 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5389, allocations: 8.062 kB / 1.481 GB, free: 2.863 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5389, allocations: 0 / 1.481 GB, free: 2.863 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.5392, allocations: 63.89 kB / 1.481 GB, free: 2.801 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5392, allocations: 4.094 kB / 1.481 GB, free: 2.797 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.5395, allocations: 39.86 kB / 1.481 GB, free: 2.758 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.5395, allocations: 8 kB / 1.481 GB, free: 2.75 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.0001595/0.5397, allocations: 153.8 kB / 1.481 GB, free: 2.59 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.5397, allocations: 27.75 kB / 1.481 GB, free: 2.562 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008163/0.5405, allocations: 311.5 kB / 1.481 GB, free: 2.25 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.5405, allocations: 4 kB / 1.481 GB, free: 2.246 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5405, allocations: 3.938 kB / 1.481 GB, free: 2.242 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5405, allocations: 0 / 1.481 GB, free: 2.242 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.5421, allocations: 0.7096 MB / 1.482 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5421, allocations: 7.984 kB / 1.482 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.5424, allocations: 51.91 kB / 1.482 GB, free: 1.418 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5424, allocations: 0 / 1.482 GB, free: 1.418 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.5424, allocations: 4 kB / 1.482 GB, free: 1.414 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5424, allocations: 8.188 kB / 1.482 GB, free: 1.406 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5424, allocations: 0 / 1.482 GB, free: 1.406 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.5436, allocations: 0.564 MB / 1.483 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.5437, allocations: 55.8 kB / 1.483 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.5437, allocations: 4 kB / 1.483 GB, free: 0.75 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.544, allocations: 19.98 kB / 1.483 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.544, allocations: 15.97 kB / 1.483 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.5441, allocations: 15.92 kB / 1.483 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001521/0.5442, allocations: 160.5 kB / 1.483 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5442, allocations: 0 / 1.483 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004604/0.5447, allocations: 119.6 kB / 1.483 GB, free: 432 kB / 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.0003651/0.545, allocations: 187 kB / 1.483 GB, free: 236 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007634/0.5458, allocations: 249.8 kB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5458, allocations: 320 / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.5462, allocations: 139.7 kB / 1.484 GB, free: 15.85 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.5468, allocations: 105.6 kB / 1.484 GB, free: 15.75 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.5479, allocations: 0.5997 MB / 1.484 GB, free: 15.11 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.5482, allocations: 175.1 kB / 1.484 GB, free: 14.92 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.5484, allocations: 57.89 kB / 1.484 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.5484, allocations: 23.44 kB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of SimCode: time 3.51e-07/0.5484, allocations: 0 / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of Templates: time 0.01137/0.5598, allocations: 5.777 MB / 1.49 GB, free: 9.168 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 -s gbode -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: 8.899736680003116]