Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001165/0.001165, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001175/0.001175, allocations: 185 kB / 24.09 MB, free: 416 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.9582/0.9582, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.759/1.759, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.738e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001265/0.001282, allocations: 0.6642 MB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.002571, allocations: 1.234 MB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.002617, allocations: 0 / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.002645, allocations: 0.9688 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.00272, allocations: 15.81 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.003216, allocations: 214.6 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.003389, allocations: 167.7 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.003476, allocations: 8 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.003592, allocations: 99.84 kB / 0.7899 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.003686, allocations: 47.91 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.003711, allocations: 17.75 kB / 0.79 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.003769, allocations: 24 kB / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.003789, allocations: 11.92 kB / 0.79 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.003836, allocations: 51.95 kB / 0.7901 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.003985, allocations: 135.6 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003987, allocations: 0.5938 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003988, allocations: 1.188 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.003992, allocations: 0 / 0.7902 GB, free: 9.504 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003711/0.004363, allocations: 467.8 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.004404, allocations: 9.188 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.004442, allocations: 16.89 kB / 0.7907 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.144e-05/0.004513, allocations: 120.5 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.004525, allocations: 9.75 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.004543, allocations: 8.375 kB / 0.7908 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.25e-05/0.004606, allocations: 42.25 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.004612, allocations: 192 / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.004619, allocations: 6.109 kB / 0.7908 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004623, allocations: 384 / 0.7908 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.375e-05/0.004637, allocations: 7.938 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.004928, allocations: 312.2 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/0.00498, allocations: 32.38 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.005, allocations: 15.77 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.005005, allocations: 0 / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.902e-05/0.005094, allocations: 85.55 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005095, allocations: 0 / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001591/0.005254, allocations: 95.67 kB / 0.7914 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.005288, allocations: 55.41 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.005371, allocations: 181.8 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.005393, allocations: 29.7 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.005456, allocations: 142.9 kB / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.005467, allocations: 14.48 kB / 0.7918 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.005527, allocations: 55.33 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.005647, allocations: 0.4884 MB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.005721, allocations: 99.36 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.005811, allocations: 160.7 kB / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.005913, allocations: 159.4 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005915, allocations: 0 / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002533/0.006168, allocations: 302.4 kB / 0.793 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.006207, allocations: 71.33 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006213, allocations: 80 / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.006224, allocations: 4.5 kB / 0.7931 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-05/0.00624, allocations: 3.984 kB / 0.7931 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006245, allocations: 8.578 kB / 0.7931 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.006401, allocations: 41.59 kB / 0.7931 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.00642, allocations: 11.98 kB / 0.7931 GB, free: 6.191 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.615e-05/0.006506, allocations: 175 kB / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.006518, allocations: 7.953 kB / 0.7933 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.006541, allocations: 21.64 kB / 0.7933 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.006544, allocations: 3.984 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.006546, allocations: 0 / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006549, allocations: 0.8438 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.355e-05/0.006623, allocations: 101.2 kB / 0.7934 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.006626, allocations: 5.25 kB / 0.7934 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-06/0.00663, allocations: 4 kB / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006631, allocations: 0 / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.006636, allocations: 0 / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.006637, allocations: 5.281 kB / 0.7934 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.00664, allocations: 3.938 kB / 0.7934 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.206e-05/0.006732, allocations: 112.3 kB / 0.7935 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.006741, allocations: 9.734 kB / 0.7936 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.006752, allocations: 7.984 kB / 0.7936 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-06/0.006762, allocations: 0 / 0.7936 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.006786, allocations: 7.938 kB / 0.7936 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.006792, allocations: 7.984 kB / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.006832, allocations: 133.7 kB / 0.7937 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006832, allocations: 0 / 0.7937 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001625/0.006994, allocations: 31.98 kB / 0.7937 GB, free: 5.52 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.751e-05/0.007092, allocations: 95.25 kB / 0.7938 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.007304, allocations: 270.3 kB / 0.7941 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.007306, allocations: 5.812 kB / 0.7941 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.007331, allocations: 35.59 kB / 0.7941 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.007481, allocations: 15.98 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.007704, allocations: 155.9 kB / 0.7943 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.007734, allocations: 59.34 kB / 0.7943 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.007751, allocations: 5.094 kB / 0.7943 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.007855, allocations: 102.2 kB / 0.7944 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of SimCode: time 8.81e-07/0.007856, allocations: 0.6562 kB / 0.7944 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of Templates: time 0.003461/0.01132, allocations: 2.226 MB / 0.7966 GB, free: 2.523 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.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: 4.878816040232778]