Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.0008337/0.0008337, allocations: 76.45 kB / 19.93 MB, free: 4.629 MB / 18.57 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.000778/0.000778, allocations: 177.9 kB / 23.22 MB, free: 1.34 MB / 18.57 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 0.8934/0.8934, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.736/1.736, allocations: 377.8 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.833e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6382/0.6382, allocations: 142.3 MB / 1.121 GB, free: 16.9 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003205/0.6415, allocations: 3.254 MB / 1.124 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.6416, allocations: 14.94 kB / 1.124 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.642, allocations: 140.2 kB / 1.124 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009183/0.643, allocations: 470.5 kB / 1.125 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.6441, allocations: 0.6328 MB / 1.126 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005632/0.6447, allocations: 0.6267 MB / 1.126 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.6449, allocations: 182.4 kB / 1.126 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.6462, allocations: 0.5757 MB / 1.127 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.6464, allocations: 176.6 kB / 1.127 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.6465, allocations: 22.53 kB / 1.127 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006051/0.6471, allocations: 478 kB / 1.128 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.994e-05/0.6472, allocations: 100.4 kB / 1.128 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.779e-05/0.6473, allocations: 101.1 kB / 1.128 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007387/0.648, allocations: 0.5734 MB / 1.128 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.648, allocations: 0.6094 kB / 1.128 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.648, allocations: 1.156 kB / 1.128 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.648, allocations: 0 / 1.128 GB, free: 12.96 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000731/0.6487, allocations: 0.5683 MB / 1.129 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.6488, allocations: 9.797 kB / 1.129 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.6491, allocations: 80.86 kB / 1.129 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.6494, allocations: 246.9 kB / 1.129 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.6495, allocations: 16.59 kB / 1.129 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.6495, allocations: 17.09 kB / 1.129 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.6499, allocations: 362.2 kB / 1.13 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6499, allocations: 5.438 kB / 1.13 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.6499, allocations: 11.45 kB / 1.13 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.65, allocations: 4.688 kB / 1.13 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.6503, allocations: 248.3 kB / 1.13 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.6512, allocations: 0.9523 MB / 1.131 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.6515, allocations: 167.4 kB / 1.131 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.6517, allocations: 118.1 kB / 1.131 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.652, allocations: 71.97 kB / 1.131 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.652, allocations: 36.75 kB / 1.131 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.652, allocations: 0 / 1.131 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14): time 0.001196/0.6532, allocations: 0.4942 MB / 1.132 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.6532, allocations: 54.14 kB / 1.132 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.6534, allocations: 229.3 kB / 1.132 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.6534, allocations: 28.2 kB / 1.132 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.6534, allocations: 181 kB / 1.132 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.6535, allocations: 40.78 kB / 1.132 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.6535, allocations: 46.66 kB / 1.132 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.6536, allocations: 329.9 kB / 1.132 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.6537, allocations: 93.66 kB / 1.133 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.6539, allocations: 164.7 kB / 1.133 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.6543, allocations: 243.5 kB / 1.133 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6543, allocations: 0 / 1.133 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006218/0.6549, allocations: 342.4 kB / 1.133 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6549, allocations: 9.047 kB / 1.133 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6549, allocations: 5.781 kB / 1.133 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/0.6552, allocations: 89.14 kB / 1.133 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.6554, allocations: 43.83 kB / 1.133 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.6566, allocations: 1.588 MB / 1.135 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.6567, allocations: 27.28 kB / 1.135 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.6567, allocations: 10.25 kB / 1.135 GB, free: 8.488 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/0.6568, allocations: 151 kB / 1.135 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.6568, allocations: 24.64 kB / 1.135 GB, free: 8.34 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006079/0.6574, allocations: 359.6 kB / 1.136 GB, free: 8.215 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.6574, allocations: 1.375 kB / 1.136 GB, free: 8.215 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.6574, allocations: 4.734 kB / 1.136 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6574, allocations: 2.172 kB / 1.136 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/0.6583, allocations: 0.6948 MB / 1.136 GB, free: 7.801 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6583, allocations: 0 / 1.136 GB, free: 7.801 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.6584, allocations: 43.41 kB / 1.136 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002097/0.6586, allocations: 80.05 kB / 1.136 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.6586, allocations: 2.062 kB / 1.136 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009529/0.6596, allocations: 1.611 MB / 1.138 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.6596, allocations: 1.891 kB / 1.138 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.6602, allocations: 447.3 kB / 1.138 GB, free: 6.137 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.6602, allocations: 44.83 kB / 1.138 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.6603, allocations: 2.781 kB / 1.138 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.6604, allocations: 27.66 kB / 1.138 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.6604, allocations: 22.77 kB / 1.138 GB, free: 6.098 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.6605, allocations: 7.359 kB / 1.138 GB, free: 6.098 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.881e-05/0.6605, allocations: 162.8 kB / 1.139 GB, free: 6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6605, allocations: 3.938 kB / 1.139 GB, free: 5.996 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002608/0.6608, allocations: 88.92 kB / 1.139 GB, free: 5.977 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002236/0.661, allocations: 143.3 kB / 1.139 GB, free: 5.875 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005665/0.6616, allocations: 370.6 kB / 1.139 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6616, allocations: 1.312 kB / 1.139 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.6619, allocations: 254.4 kB / 1.139 GB, free: 5.543 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.6623, allocations: 100.2 kB / 1.139 GB, free: 5.512 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.6629, allocations: 0.5132 MB / 1.14 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.663, allocations: 167.1 kB / 1.14 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.6631, allocations: 22.47 kB / 1.14 GB, free: 5.074 MB / 0.9948 GB Notification: Performance of SimCode: time 6.11e-07/0.6631, allocations: 0 / 1.14 GB, free: 5.074 MB / 0.9948 GB Notification: Performance of Templates: time 0.006627/0.6697, allocations: 5.218 MB / 1.145 GB, free: 4.621 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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: 7.8619136633351445]