Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001429/0.001429, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001271/0.001271, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9869/0.9869, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.872/1.872, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.589e-05, allocations: 9.016 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001429/0.001465, allocations: 0.5584 MB / 0.7877 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.141e-05/0.001506, allocations: 4.188 kB / 0.7877 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.001531, allocations: 0 / 0.7877 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.001556, allocations: 0.5625 kB / 0.7877 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.276e-05/0.001589, allocations: 0.9062 kB / 0.7877 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.333e-05/0.001622, allocations: 3.984 kB / 0.7877 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.531e-05/0.001677, allocations: 0 / 0.7877 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.001724, allocations: 4.656 kB / 0.7877 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.001754, allocations: 0 / 0.7877 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.965e-05/0.001773, allocations: 0.875 kB / 0.7877 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.001791, allocations: 0 / 0.7877 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-06/0.001794, allocations: 1.625 kB / 0.7877 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.001808, allocations: 4 kB / 0.7877 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.001826, allocations: 3.938 kB / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.577e-05/0.001892, allocations: 7.938 kB / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.001894, allocations: 1.219 kB / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.001895, allocations: 0 / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.001899, allocations: 0 / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002615/0.00216, allocations: 340.4 kB / 0.788 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.0022, allocations: 8.719 kB / 0.788 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.00223, allocations: 4.938 kB / 0.788 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.002312, allocations: 114.2 kB / 0.7881 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.002321, allocations: 384 / 0.7881 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.002328, allocations: 384 / 0.7881 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.722e-05/0.002395, allocations: 33.7 kB / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.002401, allocations: 192 / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.00241, allocations: 384 / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.002416, allocations: 384 / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.209e-05/0.002428, allocations: 11.86 kB / 0.7882 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.0027, allocations: 474.2 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.508e-05/0.002785, allocations: 265.5 kB / 0.7889 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.002822, allocations: 126.9 kB / 0.789 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.002851, allocations: 119.2 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.002896, allocations: 157.1 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.002897, allocations: 4 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.554e-05/0.002952, allocations: 34.22 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.003009, allocations: 172.2 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.003106, allocations: 153.9 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.003116, allocations: 29.7 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.003158, allocations: 130.9 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.00316, allocations: 1.094 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.003179, allocations: 15.38 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.00329, allocations: 492.1 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-06/0.003295, allocations: 4.812 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/0.003299, allocations: 0 / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.003328, allocations: 120.3 kB / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-05/0.003355, allocations: 119.2 kB / 0.7905 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.888e-05/0.003393, allocations: 38.58 kB / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.003433, allocations: 130.1 kB / 0.7907 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.003465, allocations: 127.1 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-05/0.003532, allocations: 246.3 kB / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.932e-05/0.003562, allocations: 119.9 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.415e-05/0.003616, allocations: 246.3 kB / 0.7914 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.003667, allocations: 120.6 kB / 0.7915 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.003698, allocations: 123.2 kB / 0.7916 GB, free: 8.012 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001171/0.003815, allocations: 394.9 kB / 0.792 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.003876, allocations: 157.5 kB / 0.7921 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.003933, allocations: 151.8 kB / 0.7923 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-05/0.004005, allocations: 269.9 kB / 0.7925 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.591e-05/0.004071, allocations: 268.1 kB / 0.7928 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-05/0.004138, allocations: 268.1 kB / 0.793 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.00431, allocations: 0.4921 MB / 0.7935 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/0.004348, allocations: 144.9 kB / 0.7937 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.004385, allocations: 149.5 kB / 0.7938 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.936e-05/0.004454, allocations: 268.8 kB / 0.7941 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.004523, allocations: 268.1 kB / 0.7943 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.849e-05/0.004591, allocations: 273.2 kB / 0.7946 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-05/0.004658, allocations: 272.1 kB / 0.7948 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.004799, allocations: 451.9 kB / 0.7953 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.004843, allocations: 144.9 kB / 0.7954 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.004913, allocations: 272.6 kB / 0.7957 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.00497, allocations: 154 kB / 0.7958 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.005037, allocations: 268 kB / 0.7961 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.005073, allocations: 153.2 kB / 0.7962 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.005108, allocations: 120.1 kB / 0.7963 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005108, allocations: 0 / 0.7963 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001448/0.005253, allocations: 0.5312 kB / 0.7963 GB, free: 2.977 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001039/0.005357, allocations: 216.2 kB / 0.7965 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 3.535e-05/0.005392, allocations: 3.938 kB / 0.7965 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005394, allocations: 0 / 0.7965 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.005395, allocations: 1.062 kB / 0.7965 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.005695, allocations: 0.708 MB / 0.7972 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.005924, allocations: 216.5 kB / 0.7974 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.00596, allocations: 52.2 kB / 0.7975 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.294e-06/0.005962, allocations: 3.938 kB / 0.7975 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.005975, allocations: 10.72 kB / 0.7975 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/0.005976, allocations: 0 / 0.7975 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of Templates: time 0.001526/0.007502, allocations: 163.5 kB / 0.7977 GB, free: 1.562 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.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.354922711150721]