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.001486/0.001486, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00112/0.00112, allocations: 181 kB / 23.36 MB, free: 1.133 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.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.403/2.403, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.233e-06/1.233e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.929e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1325/0.1325, allocations: 145.6 MB / 0.9808 GB, free: 12.04 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.135, allocations: 1.634 MB / 0.9824 GB, free: 10.41 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.1352, allocations: 11.88 kB / 0.9824 GB, free: 10.39 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1354, allocations: 83.27 kB / 0.9825 GB, free: 10.31 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.1362, allocations: 314.2 kB / 0.9828 GB, free: 10 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1372, allocations: 0.4905 MB / 0.9832 GB, free: 9.512 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.1378, allocations: 0.6009 MB / 0.9838 GB, free: 8.91 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.1381, allocations: 181 kB / 0.984 GB, free: 8.738 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009399/0.139, allocations: 438.4 kB / 0.9844 GB, free: 8.344 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.1392, allocations: 159.5 kB / 0.9846 GB, free: 8.188 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.1393, allocations: 20 kB / 0.9846 GB, free: 8.168 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.1397, allocations: 275.3 kB / 0.9849 GB, free: 7.898 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1398, allocations: 111.7 kB / 0.985 GB, free: 7.789 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.706e-05/0.1399, allocations: 95.75 kB / 0.9851 GB, free: 7.695 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.1404, allocations: 410.7 kB / 0.9854 GB, free: 7.293 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1404, allocations: 0 / 0.9854 GB, free: 7.293 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1404, allocations: 0 / 0.9854 GB, free: 7.293 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1404, allocations: 4 kB / 0.9854 GB, free: 7.289 MB / 0.948 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.0006358/0.141, allocations: 0.5031 MB / 0.9859 GB, free: 6.762 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1411, allocations: 12.03 kB / 0.9859 GB, free: 6.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.1415, allocations: 104.6 kB / 0.986 GB, free: 6.648 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1418, allocations: 232.7 kB / 0.9863 GB, free: 6.391 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1418, allocations: 24.61 kB / 0.9863 GB, free: 6.367 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1418, allocations: 23.98 kB / 0.9863 GB, free: 6.344 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.1422, allocations: 275.9 kB / 0.9866 GB, free: 6.035 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1422, allocations: 4 kB / 0.9866 GB, free: 6.031 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.1422, allocations: 4 kB / 0.9866 GB, free: 6.027 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1422, allocations: 4 kB / 0.9866 GB, free: 6.023 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1423, allocations: 67.86 kB / 0.9867 GB, free: 5.957 MB / 0.948 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.0008325/0.1431, allocations: 0.7712 MB / 0.9874 GB, free: 5.145 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1433, allocations: 108.1 kB / 0.9875 GB, free: 5.027 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.1433, allocations: 43.66 kB / 0.9876 GB, free: 4.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.1435, allocations: 51.94 kB / 0.9876 GB, free: 4.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1435, allocations: 42.5 kB / 0.9876 GB, free: 4.879 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1435, allocations: 0 / 0.9876 GB, free: 4.879 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0008276/0.1444, allocations: 249 kB / 0.9879 GB, free: 4.625 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.1444, allocations: 51.41 kB / 0.9879 GB, free: 4.562 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1445, allocations: 213 kB / 0.9881 GB, free: 4.344 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1445, allocations: 25.7 kB / 0.9882 GB, free: 4.312 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.1446, allocations: 160.8 kB / 0.9883 GB, free: 4.152 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1447, allocations: 47.58 kB / 0.9884 GB, free: 4.105 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.1447, allocations: 33.7 kB / 0.9884 GB, free: 4.066 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.1448, allocations: 334.8 kB / 0.9887 GB, free: 3.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.1448, allocations: 22.73 kB / 0.9887 GB, free: 3.707 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.1449, allocations: 75.86 kB / 0.9888 GB, free: 3.613 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.145, allocations: 105.1 kB / 0.9889 GB, free: 3.496 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.145, allocations: 0 / 0.9889 GB, free: 3.496 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003824/0.1454, allocations: 171.9 kB / 0.9891 GB, free: 3.316 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1454, allocations: 8 kB / 0.9891 GB, free: 3.309 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1454, allocations: 0 / 0.9891 GB, free: 3.309 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.1459, allocations: 131.6 kB / 0.9892 GB, free: 3.176 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.146, allocations: 39.92 kB / 0.9892 GB, free: 3.137 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.1472, allocations: 1.355 MB / 0.9906 GB, free: 1.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.932e-05/0.1473, allocations: 19.94 kB / 0.9906 GB, free: 1.664 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1473, allocations: 4 kB / 0.9906 GB, free: 1.66 MB / 0.948 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 9.216e-05/0.1474, allocations: 124.6 kB / 0.9907 GB, free: 1.527 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.1474, allocations: 23.97 kB / 0.9907 GB, free: 1.504 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.1478, allocations: 186.8 kB / 0.9909 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1478, allocations: 0 / 0.9909 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.1478, allocations: 0 / 0.9909 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1478, allocations: 192 / 0.9909 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.1485, allocations: 0.5009 MB / 0.9914 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1485, allocations: 3.984 kB / 0.9914 GB, free: 0.7617 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.1486, allocations: 27.92 kB / 0.9914 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/0.149, allocations: 126.5 kB / 0.9915 GB, free: 0.6055 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.149, allocations: 4 kB / 0.9915 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009833/0.15, allocations: 1.345 MB / 0.9929 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.15, allocations: 4 kB / 0.9929 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.1504, allocations: 327.5 kB / 0.9932 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.1505, allocations: 27.86 kB / 0.9932 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1505, allocations: 19.95 kB / 0.9932 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1506, allocations: 8 kB / 0.9932 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.1507, allocations: 23.89 kB / 0.9933 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1507, allocations: 8 kB / 0.9933 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.1508, allocations: 66.78 kB / 0.9933 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1508, allocations: 0 / 0.9933 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003304/0.1511, allocations: 95.72 kB / 0.9934 GB, free: 14.55 MB / 0.9636 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.0001818/0.1513, allocations: 112.3 kB / 0.9935 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.1536, allocations: 213.4 kB / 0.9937 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.1536, allocations: 0 / 0.9937 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.1538, allocations: 179.8 kB / 0.9939 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1542, allocations: 114.3 kB / 0.994 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.1551, allocations: 483.2 kB / 0.9945 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.105e-05/0.1551, allocations: 92.3 kB / 0.9946 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.42e-05/0.1552, allocations: 25.64 kB / 0.9946 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.1554, allocations: 121.3 kB / 0.9947 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of SimCode: time 7.01e-07/0.1554, allocations: 0 / 0.9947 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of Templates: time 0.0111/0.1665, allocations: 5.643 MB / 1 GB, free: 7.605 MB / 0.9636 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: 5.74151702132076]