Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001069/0.001069, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009694/0.0009694, allocations: 169 kB / 23.27 MB, free: 1.219 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 1.042/1.042, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.487/2.487, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.142e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.133/0.133, allocations: 143.5 MB / 1.03 GB, free: 9.688 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003397/0.1364, allocations: 1.607 MB / 1.031 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006315/0.137, allocations: 11.88 kB / 1.031 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.1375, allocations: 79.28 kB / 1.032 GB, free: 7.988 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.1388, allocations: 310.3 kB / 1.032 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.1406, allocations: 0.4944 MB / 1.032 GB, free: 7.188 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1417, allocations: 0.6048 MB / 1.033 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.1422, allocations: 173 kB / 1.033 GB, free: 6.402 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.1439, allocations: 419.1 kB / 1.033 GB, free: 6.027 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.1444, allocations: 171.5 kB / 1.034 GB, free: 5.859 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.028e-05/0.1444, allocations: 23.94 kB / 1.034 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008235/0.1453, allocations: 275.3 kB / 1.034 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1454, allocations: 111.6 kB / 1.034 GB, free: 5.457 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.1456, allocations: 95.77 kB / 1.034 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.1468, allocations: 406.7 kB / 1.035 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1468, allocations: 0 / 1.035 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1468, allocations: 0 / 1.035 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.1468, allocations: 0 / 1.035 GB, free: 4.965 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.001047/0.1479, allocations: 0.6356 MB / 1.035 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.1479, allocations: 15.97 kB / 1.035 GB, free: 4.277 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.1485, allocations: 108.5 kB / 1.035 GB, free: 4.172 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.149, allocations: 251.5 kB / 1.036 GB, free: 3.898 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.149, allocations: 20.62 kB / 1.036 GB, free: 3.879 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.1491, allocations: 20 kB / 1.036 GB, free: 3.859 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.1496, allocations: 287.2 kB / 1.036 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1496, allocations: 4 kB / 1.036 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.1496, allocations: 8 kB / 1.036 GB, free: 3.523 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1496, allocations: 4 kB / 1.036 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.1498, allocations: 65 kB / 1.036 GB, free: 3.457 MB / 0.9948 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.001447/0.1512, allocations: 1.096 MB / 1.037 GB, free: 2.309 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1514, allocations: 75.08 kB / 1.037 GB, free: 2.223 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.411e-05/0.1515, allocations: 43.61 kB / 1.037 GB, free: 2.176 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.1518, allocations: 55.88 kB / 1.037 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1518, allocations: 37.39 kB / 1.037 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=14): time 3.046e-06/0.1518, allocations: 0 / 1.037 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14): time 0.00128/0.1531, allocations: 280.2 kB / 1.037 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1531, allocations: 55.39 kB / 1.037 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1534, allocations: 272.2 kB / 1.038 GB, free: 1.445 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.1534, allocations: 29.7 kB / 1.038 GB, free: 1.41 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1535, allocations: 219 kB / 1.038 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.1536, allocations: 51.52 kB / 1.038 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.1537, allocations: 47.36 kB / 1.038 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1539, allocations: 0.5001 MB / 1.039 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.1539, allocations: 15.98 kB / 1.039 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1541, allocations: 105.5 kB / 1.039 GB, free: 440 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1542, allocations: 98.36 kB / 1.039 GB, free: 320 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1542, allocations: 3.938 kB / 1.039 GB, free: 316 kB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007322/0.155, allocations: 201 kB / 1.039 GB, free: 104 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.155, allocations: 7.984 kB / 1.039 GB, free: 96 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.155, allocations: 0 / 1.039 GB, free: 96 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/0.1557, allocations: 135.6 kB / 1.039 GB, free: 15.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1558, allocations: 31.97 kB / 1.039 GB, free: 15.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.1578, allocations: 1.885 MB / 1.041 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.1581, allocations: 23.88 kB / 1.041 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.1581, allocations: 8.031 kB / 1.041 GB, free: 13.89 MB / 1.01 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 0.0001711/0.1583, allocations: 160.6 kB / 1.041 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.1583, allocations: 27.86 kB / 1.041 GB, free: 13.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.1589, allocations: 208.8 kB / 1.041 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1589, allocations: 0 / 1.041 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1589, allocations: 0 / 1.041 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1589, allocations: 0 / 1.041 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.16, allocations: 0.5314 MB / 1.042 GB, free: 12.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.16, allocations: 0 / 1.042 GB, free: 12.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1601, allocations: 31.92 kB / 1.042 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004996/0.1606, allocations: 115.7 kB / 1.042 GB, free: 12.76 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.1606, allocations: 12 kB / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.1625, allocations: 1.883 MB / 1.044 GB, free: 10.74 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1625, allocations: 4 kB / 1.044 GB, free: 10.74 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.1632, allocations: 362.2 kB / 1.044 GB, free: 10.35 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.1633, allocations: 43.81 kB / 1.044 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1633, allocations: 0 / 1.044 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.1635, allocations: 15.98 kB / 1.044 GB, free: 10.29 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.1636, allocations: 23.91 kB / 1.044 GB, free: 10.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.1636, allocations: 4 kB / 1.044 GB, free: 10.26 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001403/0.1637, allocations: 185.1 kB / 1.045 GB, free: 10.08 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1637, allocations: 0 / 1.045 GB, free: 10.08 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005314/0.1643, allocations: 87.78 kB / 1.045 GB, free: 9.996 MB / 1.01 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.000476/0.1647, allocations: 140.8 kB / 1.045 GB, free: 9.848 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000523/0.1653, allocations: 273 kB / 1.045 GB, free: 9.562 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1653, allocations: 8 kB / 1.045 GB, free: 9.555 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.1655, allocations: 241.8 kB / 1.045 GB, free: 9.297 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.166, allocations: 106.5 kB / 1.045 GB, free: 9.195 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.167, allocations: 483 kB / 1.046 GB, free: 8.688 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.761e-05/0.1671, allocations: 96.16 kB / 1.046 GB, free: 8.574 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.171e-05/0.1672, allocations: 29.67 kB / 1.046 GB, free: 8.547 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.1674, allocations: 154.1 kB / 1.046 GB, free: 8.395 MB / 1.01 GB Notification: Performance of SimCode: time 1.372e-06/0.1674, allocations: 0 / 1.046 GB, free: 8.395 MB / 1.01 GB Notification: Performance of Templates: time 0.007466/0.1748, allocations: 5.85 MB / 1.052 GB, free: 2.648 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.548227150924504]