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.001623/0.001623, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001731/0.001731, allocations: 220.1 kB / 23.05 MB, free: 4.844 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.75 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.228/3.228, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002036/0.002036, allocations: 67.77 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3215, allocations: 176.1 MB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1861/0.5076, allocations: 145.8 MB / 1.47 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.5106, allocations: 1.474 MB / 1.471 GB, free: 13.14 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.5108, allocations: 15.88 kB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.5113, allocations: 146.9 kB / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.5125, allocations: 481.9 kB / 1.472 GB, free: 12.51 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.5144, allocations: 0.7619 MB / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008756/0.5153, allocations: 0.7097 MB / 1.473 GB, free: 11.03 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.5157, allocations: 215 kB / 1.473 GB, free: 10.82 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009637/0.5166, allocations: 478.3 kB / 1.474 GB, free: 10.35 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.5169, allocations: 223.1 kB / 1.474 GB, free: 10.13 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.517, allocations: 28 kB / 1.474 GB, free: 10.1 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.5184, allocations: 0.7286 MB / 1.475 GB, free: 9.371 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.5185, allocations: 123.6 kB / 1.475 GB, free: 9.25 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.5187, allocations: 123.5 kB / 1.475 GB, free: 9.129 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.5199, allocations: 0.7242 MB / 1.476 GB, free: 8.402 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5199, allocations: 0 / 1.476 GB, free: 8.402 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5199, allocations: 0 / 1.476 GB, free: 8.402 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.5199, allocations: 3.938 kB / 1.476 GB, free: 8.398 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.001166/0.521, allocations: 0.6135 MB / 1.476 GB, free: 7.754 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5211, allocations: 8.031 kB / 1.476 GB, free: 7.746 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004846/0.5216, allocations: 91.69 kB / 1.476 GB, free: 7.656 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.522, allocations: 256.1 kB / 1.476 GB, free: 7.375 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.522, allocations: 20.5 kB / 1.477 GB, free: 7.355 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.5221, allocations: 16 kB / 1.477 GB, free: 7.34 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.5228, allocations: 361.1 kB / 1.477 GB, free: 6.969 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5228, allocations: 7.938 kB / 1.477 GB, free: 6.961 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.5228, allocations: 8 kB / 1.477 GB, free: 6.953 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.5228, allocations: 11.94 kB / 1.477 GB, free: 6.941 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.5236, allocations: 281.5 kB / 1.477 GB, free: 6.668 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.001624/0.5252, allocations: 0.9278 MB / 1.478 GB, free: 5.691 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008736/0.5261, allocations: 240.3 kB / 1.478 GB, free: 5.449 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.5264, allocations: 120.8 kB / 1.478 GB, free: 5.328 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/0.5269, allocations: 87.89 kB / 1.479 GB, free: 5.242 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5269, allocations: 38.56 kB / 1.479 GB, free: 5.195 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.853e-06/0.5269, allocations: 0 / 1.479 GB, free: 5.195 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001238/0.5282, allocations: 402.2 kB / 1.479 GB, free: 4.797 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.5282, allocations: 59.34 kB / 1.479 GB, free: 4.727 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.5285, allocations: 217.1 kB / 1.479 GB, free: 4.508 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.5285, allocations: 33.7 kB / 1.479 GB, free: 4.469 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.5286, allocations: 172.2 kB / 1.479 GB, free: 4.297 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/0.5287, allocations: 71.42 kB / 1.479 GB, free: 4.227 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.5288, allocations: 45.7 kB / 1.479 GB, free: 4.176 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.529, allocations: 330.8 kB / 1.48 GB, free: 3.844 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.5293, allocations: 107.9 kB / 1.48 GB, free: 3.738 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.5297, allocations: 249.6 kB / 1.48 GB, free: 3.457 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.5303, allocations: 270.5 kB / 1.48 GB, free: 3.176 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5303, allocations: 4 kB / 1.48 GB, free: 3.172 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007533/0.5311, allocations: 314.5 kB / 1.481 GB, free: 2.859 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.5311, allocations: 4 kB / 1.481 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5311, allocations: 7.938 kB / 1.481 GB, free: 2.848 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5311, allocations: 0 / 1.481 GB, free: 2.848 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.5314, allocations: 63.89 kB / 1.481 GB, free: 2.785 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.5314, allocations: 8.094 kB / 1.481 GB, free: 2.777 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.5317, allocations: 35.86 kB / 1.481 GB, free: 2.742 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.5317, allocations: 8 kB / 1.481 GB, free: 2.734 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.0001835/0.5319, allocations: 161.7 kB / 1.481 GB, free: 2.566 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.5319, allocations: 23.81 kB / 1.481 GB, free: 2.543 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.5327, allocations: 307.5 kB / 1.481 GB, free: 2.234 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5327, allocations: 4 kB / 1.481 GB, free: 2.23 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5328, allocations: 7.922 kB / 1.481 GB, free: 2.223 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5328, allocations: 0 / 1.481 GB, free: 2.223 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.5342, allocations: 0.7136 MB / 1.482 GB, free: 1.453 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5342, allocations: 4 kB / 1.482 GB, free: 1.449 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.5345, allocations: 55.89 kB / 1.482 GB, free: 1.395 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5345, allocations: 0 / 1.482 GB, free: 1.395 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.5345, allocations: 4.188 kB / 1.482 GB, free: 1.391 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.627e-06/0.5345, allocations: 8 kB / 1.482 GB, free: 1.383 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5345, allocations: 0 / 1.482 GB, free: 1.383 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.5357, allocations: 0.5633 MB / 1.483 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.5358, allocations: 51.8 kB / 1.483 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.5358, allocations: 4 kB / 1.483 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.536, allocations: 23.97 kB / 1.483 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.5361, allocations: 19.97 kB / 1.483 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.5361, allocations: 4 kB / 1.483 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00015/0.5363, allocations: 160.5 kB / 1.483 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5363, allocations: 0 / 1.483 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005137/0.5368, allocations: 123.6 kB / 1.483 GB, free: 416 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.0003598/0.5371, allocations: 191 kB / 1.483 GB, free: 216 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007637/0.5379, allocations: 253.8 kB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5379, allocations: 4.062 kB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.5383, allocations: 131.8 kB / 1.484 GB, free: 15.83 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.5389, allocations: 96.66 kB / 1.484 GB, free: 15.74 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.5401, allocations: 0.6248 MB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.5403, allocations: 175.1 kB / 1.484 GB, free: 14.88 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.5404, allocations: 27.42 kB / 1.484 GB, free: 14.85 MB / 1.186 GB Notification: Performance of SimCode: time 3.41e-07/0.5404, allocations: 0 / 1.484 GB, free: 14.85 MB / 1.186 GB Notification: Performance of Templates: time 0.008013/0.5484, allocations: 4.872 MB / 1.489 GB, free: 10.01 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 -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: 12.266530647175387]