Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0009043/0.0009043, 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.0009528/0.0009528, allocations: 181 kB / 24.09 MB, free: 420 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.9356/0.9356, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.713/1.713, allocations: 359 MB / 0.6055 GB, free: 10.87 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.485e-05, allocations: 8.5 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00119/0.001205, allocations: 0.7367 MB / 0.7883 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002414, allocations: 1.238 MB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.002468, allocations: 0 / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.0025, allocations: 7.938 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.002572, allocations: 11.86 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.002984, allocations: 141.3 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.003119, allocations: 115.7 kB / 0.7897 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.003202, allocations: 18.14 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.003312, allocations: 71.81 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.003388, allocations: 31.95 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.00341, allocations: 12 kB / 0.7899 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.109e-05/0.003471, allocations: 27.97 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.003497, allocations: 11.94 kB / 0.7899 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.003538, allocations: 37.95 kB / 0.7899 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.00367, allocations: 91.75 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003672, allocations: 4 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003672, allocations: 0 / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003677, allocations: 0 / 0.79 GB, free: 9.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003757/0.004052, allocations: 426.8 kB / 0.7904 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.004089, allocations: 12.02 kB / 0.7904 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445e-05/0.004173, allocations: 21.36 kB / 0.7905 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.234e-05/0.004236, allocations: 114.2 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.004246, allocations: 4.375 kB / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.004259, allocations: 8.375 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.635e-05/0.004355, allocations: 66.92 kB / 0.7906 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.00436, allocations: 0.8438 kB / 0.7907 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.004367, allocations: 384 / 0.7907 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.004371, allocations: 5.312 kB / 0.7907 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.004395, allocations: 19.86 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.004667, allocations: 289.5 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.726e-05/0.004724, allocations: 35.05 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.004741, allocations: 13.06 kB / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.004755, allocations: 0 / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.327e-05/0.004828, allocations: 88.98 kB / 0.7911 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.004829, allocations: 1.75 kB / 0.7911 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001424/0.004971, allocations: 81.61 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.004995, allocations: 55.41 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.005066, allocations: 185.8 kB / 0.7914 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.005079, allocations: 25.7 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.005121, allocations: 136 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.005135, allocations: 15.89 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.005179, allocations: 48.69 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.005265, allocations: 496.1 kB / 0.7921 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.005309, allocations: 57.67 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.005361, allocations: 92.41 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.694e-05/0.005428, allocations: 111.4 kB / 0.7923 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.005429, allocations: 0 / 0.7923 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001515/0.005581, allocations: 184.9 kB / 0.7925 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.005604, allocations: 37.64 kB / 0.7925 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005608, allocations: 0 / 0.7925 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.005616, allocations: 4.5 kB / 0.7925 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.005668, allocations: 15.92 kB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-06/0.00567, allocations: 1.938 kB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/0.005744, allocations: 35.86 kB / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.005755, allocations: 8 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.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): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 6.091e-05/0.005816, allocations: 163.2 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.005826, allocations: 7.938 kB / 0.7928 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.447e-05/0.005921, allocations: 86.02 kB / 0.7928 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.005922, allocations: 0 / 0.7928 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.005924, allocations: 4 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005928, allocations: 3.938 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.006078, allocations: 298.9 kB / 0.7931 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006078, allocations: 4 kB / 0.7931 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.006102, allocations: 8 kB / 0.7932 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.006106, allocations: 4.781 kB / 0.7932 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.00611, allocations: 3.938 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006112, allocations: 5.281 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006113, allocations: 0 / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.086e-05/0.006203, allocations: 211.9 kB / 0.7934 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.006211, allocations: 12.73 kB / 0.7934 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.006224, allocations: 7.984 kB / 0.7934 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.006257, allocations: 1.031 kB / 0.7934 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.006283, allocations: 11.98 kB / 0.7934 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.006286, allocations: 0 / 0.7934 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.006319, allocations: 145 kB / 0.7935 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006319, allocations: 0 / 0.7935 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001511/0.00647, allocations: 20 kB / 0.7936 GB, free: 5.734 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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.257e-05/0.006563, allocations: 104.1 kB / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.006701, allocations: 149.8 kB / 0.7938 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.006702, allocations: 0 / 0.7938 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.00673, allocations: 31.59 kB / 0.7938 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.006926, allocations: 17.11 kB / 0.7938 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.007302, allocations: 165.5 kB / 0.794 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.007332, allocations: 55.36 kB / 0.7941 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.007354, allocations: 4 kB / 0.7941 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.00743, allocations: 94.17 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.007431, allocations: 0.5 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of Templates: time 0.002793/0.01022, allocations: 1.68 MB / 0.7958 GB, free: 3.406 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.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.810269983951002]