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.00182/0.00182, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002194/0.002194, allocations: 159.4 kB / 23.01 MB, free: 4.945 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.525/1.525, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.699/2.699, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.002278/0.002278, allocations: 74.23 kB / 0.9515 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3519, allocations: 169.9 MB / 1.117 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.8711/1.223, allocations: 145.7 MB / 1.26 GB, free: 13.77 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003381/1.226, allocations: 1.481 MB / 1.261 GB, free: 12.78 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/1.227, allocations: 14.28 kB / 1.261 GB, free: 12.77 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005477/1.227, allocations: 144.4 kB / 1.261 GB, free: 12.68 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/1.229, allocations: 475.5 kB / 1.262 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/1.231, allocations: 0.7624 MB / 1.263 GB, free: 12.07 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009762/1.232, allocations: 0.716 MB / 1.263 GB, free: 11.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/1.232, allocations: 209.8 kB / 1.263 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/1.233, allocations: 321.1 kB / 1.264 GB, free: 11.53 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/1.233, allocations: 232.2 kB / 1.264 GB, free: 11.44 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/1.233, allocations: 25.25 kB / 1.264 GB, free: 11.44 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/1.235, allocations: 0.7486 MB / 1.265 GB, free: 11.18 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/1.235, allocations: 113.9 kB / 1.265 GB, free: 11.13 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/1.235, allocations: 130.1 kB / 1.265 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/1.237, allocations: 0.7217 MB / 1.266 GB, free: 10.83 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.237, allocations: 1 kB / 1.266 GB, free: 10.83 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.202e-06/1.237, allocations: 0 / 1.266 GB, free: 10.83 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.237, allocations: 0 / 1.266 GB, free: 10.83 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.001275/1.238, allocations: 0.6143 MB / 1.266 GB, free: 10.37 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.238, allocations: 9.844 kB / 1.266 GB, free: 10.37 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005109/1.238, allocations: 87.58 kB / 1.266 GB, free: 10.34 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/1.239, allocations: 257.9 kB / 1.267 GB, free: 10.14 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/1.239, allocations: 22.78 kB / 1.267 GB, free: 10.13 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/1.239, allocations: 21.09 kB / 1.267 GB, free: 10.12 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/1.24, allocations: 359.2 kB / 1.267 GB, free: 9.953 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.24, allocations: 0 / 1.267 GB, free: 9.953 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/1.24, allocations: 10.19 kB / 1.267 GB, free: 9.945 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/1.24, allocations: 9.781 kB / 1.267 GB, free: 9.941 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000781/1.241, allocations: 289.2 kB / 1.267 GB, free: 9.863 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.001723/1.242, allocations: 0.926 MB / 1.268 GB, free: 9.246 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009112/1.243, allocations: 232 kB / 1.268 GB, free: 9.172 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/1.244, allocations: 128.4 kB / 1.269 GB, free: 9.133 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/1.244, allocations: 83.38 kB / 1.269 GB, free: 9.129 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/1.244, allocations: 40.56 kB / 1.269 GB, free: 9.082 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.744e-06/1.244, allocations: 0 / 1.269 GB, free: 9.082 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001549/1.246, allocations: 402.5 kB / 1.269 GB, free: 8.957 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.246, allocations: 54.06 kB / 1.269 GB, free: 8.895 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/1.246, allocations: 228 kB / 1.269 GB, free: 8.754 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/1.246, allocations: 31.86 kB / 1.269 GB, free: 8.719 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/1.247, allocations: 170.4 kB / 1.27 GB, free: 8.574 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/1.247, allocations: 72.94 kB / 1.27 GB, free: 8.516 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/1.247, allocations: 48.23 kB / 1.27 GB, free: 8.484 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002189/1.247, allocations: 335.3 kB / 1.27 GB, free: 8.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/1.247, allocations: 108.1 kB / 1.27 GB, free: 8.133 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/1.248, allocations: 240.4 kB / 1.27 GB, free: 7.953 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/1.248, allocations: 271 kB / 1.271 GB, free: 7.836 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.248, allocations: 1.125 kB / 1.271 GB, free: 7.836 MB / 1.123 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007952/1.249, allocations: 311.8 kB / 1.271 GB, free: 7.723 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.249, allocations: 6.031 kB / 1.271 GB, free: 7.723 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.249, allocations: 1.125 kB / 1.271 GB, free: 7.723 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.249, allocations: 2.375 kB / 1.271 GB, free: 7.723 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/1.25, allocations: 61.47 kB / 1.271 GB, free: 7.715 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.25, allocations: 7.031 kB / 1.271 GB, free: 7.711 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/1.25, allocations: 34.33 kB / 1.271 GB, free: 7.699 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/1.25, allocations: 7.234 kB / 1.271 GB, free: 7.699 MB / 1.123 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.000196/1.25, allocations: 163.4 kB / 1.271 GB, free: 7.555 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/1.25, allocations: 22.67 kB / 1.271 GB, free: 7.543 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008331/1.251, allocations: 310.6 kB / 1.271 GB, free: 7.434 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.251, allocations: 6.953 kB / 1.271 GB, free: 7.43 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.251, allocations: 8.484 kB / 1.271 GB, free: 7.422 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.251, allocations: 4.656 kB / 1.271 GB, free: 7.418 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/1.253, allocations: 0.7153 MB / 1.272 GB, free: 6.984 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.253, allocations: 5.453 kB / 1.272 GB, free: 6.984 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/1.253, allocations: 53.09 kB / 1.272 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.253, allocations: 3.422 kB / 1.272 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/1.253, allocations: 2.625 kB / 1.272 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.253, allocations: 3.234 kB / 1.272 GB, free: 6.977 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.253, allocations: 7.406 kB / 1.272 GB, free: 6.973 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/1.254, allocations: 0.5523 MB / 1.273 GB, free: 6.672 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/1.254, allocations: 47.28 kB / 1.273 GB, free: 6.648 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/1.254, allocations: 3.484 kB / 1.273 GB, free: 6.648 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/1.254, allocations: 26.8 kB / 1.273 GB, free: 6.641 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/1.255, allocations: 23.02 kB / 1.273 GB, free: 6.633 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/1.255, allocations: 7.641 kB / 1.273 GB, free: 6.633 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001716/1.255, allocations: 159.5 kB / 1.273 GB, free: 6.535 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.255, allocations: 0 / 1.273 GB, free: 6.535 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005443/1.255, allocations: 116.4 kB / 1.273 GB, free: 6.504 MB / 1.123 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.0004139/1.256, allocations: 189.1 kB / 1.273 GB, free: 6.383 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007881/1.256, allocations: 257.4 kB / 1.274 GB, free: 6.316 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.256, allocations: 0 / 1.274 GB, free: 6.316 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/1.257, allocations: 134.5 kB / 1.274 GB, free: 6.281 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/1.258, allocations: 98.3 kB / 1.274 GB, free: 6.258 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/1.259, allocations: 0.5953 MB / 1.274 GB, free: 5.867 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/1.259, allocations: 175.2 kB / 1.275 GB, free: 5.777 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001983/1.259, allocations: 58.44 kB / 1.275 GB, free: 5.77 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/1.259, allocations: 32.73 kB / 1.275 GB, free: 5.754 MB / 1.123 GB Notification: Performance of SimCode: time 3.21e-07/1.259, allocations: 0 / 1.275 GB, free: 5.754 MB / 1.123 GB Notification: Performance of Templates: time 0.0135/1.273, allocations: 5.322 MB / 1.28 GB, free: 5.191 MB / 1.123 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 -s ida -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: 9.284973909030668]