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.000986/0.000986, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001099/0.001099, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.824/1.824, allocations: 359 MB / 0.6063 GB, free: 10.89 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.403e-06/1.403e-06, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.426e-05, allocations: 4.984 kB / 0.7883 GB, free: 11.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00122/0.001234, allocations: 0.7363 MB / 0.789 GB, free: 10.42 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.002409, allocations: 1.241 MB / 0.7902 GB, free: 9.164 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.002451, allocations: 0.5 kB / 0.7902 GB, free: 9.164 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.002478, allocations: 3.938 kB / 0.7902 GB, free: 9.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.002546, allocations: 16.75 kB / 0.7902 GB, free: 9.145 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.002913, allocations: 140.5 kB / 0.7904 GB, free: 9.008 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.003055, allocations: 116.9 kB / 0.7905 GB, free: 8.895 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.847e-05/0.003134, allocations: 8 kB / 0.7905 GB, free: 8.887 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.003236, allocations: 67.88 kB / 0.7906 GB, free: 8.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.003313, allocations: 32.52 kB / 0.7906 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.003335, allocations: 12 kB / 0.7906 GB, free: 8.777 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.909e-05/0.003394, allocations: 32.66 kB / 0.7906 GB, free: 8.746 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.003418, allocations: 11.92 kB / 0.7906 GB, free: 8.734 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.003462, allocations: 32.88 kB / 0.7907 GB, free: 8.703 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.003629, allocations: 111.6 kB / 0.7908 GB, free: 8.594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003631, allocations: 0.6562 kB / 0.7908 GB, free: 8.594 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003632, allocations: 0 / 0.7908 GB, free: 8.594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003635, allocations: 0.9375 kB / 0.7908 GB, free: 8.594 MB / 0.698 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.0004546/0.00409, allocations: 421.8 kB / 0.7912 GB, free: 8.137 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.004126, allocations: 13.62 kB / 0.7912 GB, free: 8.125 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.066e-05/0.004217, allocations: 20.83 kB / 0.7912 GB, free: 8.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.941e-05/0.004296, allocations: 116.5 kB / 0.7913 GB, free: 7.965 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.00431, allocations: 8.359 kB / 0.7913 GB, free: 7.957 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.004324, allocations: 7.875 kB / 0.7913 GB, free: 7.953 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.004426, allocations: 62.94 kB / 0.7914 GB, free: 7.883 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004433, allocations: 192 / 0.7914 GB, free: 7.883 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004441, allocations: 384 / 0.7914 GB, free: 7.883 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.004445, allocations: 4.375 kB / 0.7914 GB, free: 7.879 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.968e-05/0.004475, allocations: 19.89 kB / 0.7914 GB, free: 7.859 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.004804, allocations: 288.4 kB / 0.7917 GB, free: 7.551 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.169e-05/0.004876, allocations: 31.06 kB / 0.7917 GB, free: 7.508 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.004894, allocations: 16.27 kB / 0.7917 GB, free: 7.488 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.004908, allocations: 0.625 kB / 0.7917 GB, free: 7.488 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.471e-05/0.005003, allocations: 82.62 kB / 0.7918 GB, free: 7.395 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.005004, allocations: 0 / 0.7918 GB, free: 7.395 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001656/0.00517, allocations: 81.56 kB / 0.7919 GB, free: 7.309 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.005204, allocations: 63.39 kB / 0.792 GB, free: 7.234 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/0.005281, allocations: 170.9 kB / 0.7921 GB, free: 7.051 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.005299, allocations: 33.64 kB / 0.7922 GB, free: 7.012 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.005352, allocations: 142.8 kB / 0.7923 GB, free: 6.867 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.005371, allocations: 16.75 kB / 0.7923 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.005418, allocations: 39.36 kB / 0.7923 GB, free: 6.805 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.005538, allocations: 0.4884 MB / 0.7928 GB, free: 6.305 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.005593, allocations: 58.73 kB / 0.7929 GB, free: 6.242 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.005665, allocations: 100.3 kB / 0.793 GB, free: 6.121 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.005857, allocations: 105.8 kB / 0.7931 GB, free: 5.996 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005859, allocations: 0 / 0.7931 GB, free: 5.996 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001932/0.006052, allocations: 189.6 kB / 0.7933 GB, free: 5.793 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.006081, allocations: 38.94 kB / 0.7933 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.006085, allocations: 4 kB / 0.7933 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.006094, allocations: 0 / 0.7933 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.006153, allocations: 8.75 kB / 0.7933 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.00616, allocations: 8.25 kB / 0.7933 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.006241, allocations: 25.81 kB / 0.7933 GB, free: 5.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.006258, allocations: 8 kB / 0.7933 GB, free: 5.699 MB / 0.698 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 7.635e-05/0.006334, allocations: 164.6 kB / 0.7935 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.006349, allocations: 12.52 kB / 0.7935 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.006455, allocations: 86.02 kB / 0.7936 GB, free: 5.426 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.006457, allocations: 4.688 kB / 0.7936 GB, free: 5.422 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.006459, allocations: 0 / 0.7936 GB, free: 5.422 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006462, allocations: 1.219 kB / 0.7936 GB, free: 5.422 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.006655, allocations: 306 kB / 0.7939 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006657, allocations: 0 / 0.7939 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.006686, allocations: 4.531 kB / 0.7939 GB, free: 5.086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.006689, allocations: 9.109 kB / 0.7939 GB, free: 5.078 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006696, allocations: 4 kB / 0.7939 GB, free: 5.074 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006697, allocations: 0 / 0.7939 GB, free: 5.074 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006698, allocations: 1 kB / 0.7939 GB, free: 5.074 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.006805, allocations: 223.8 kB / 0.7941 GB, free: 4.836 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.006813, allocations: 11.89 kB / 0.7941 GB, free: 4.824 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.006825, allocations: 0.6875 kB / 0.7941 GB, free: 4.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.419e-05/0.006859, allocations: 3.938 kB / 0.7941 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.006887, allocations: 9.047 kB / 0.7941 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.006892, allocations: 4 kB / 0.7942 GB, free: 4.809 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.006937, allocations: 139.6 kB / 0.7943 GB, free: 4.672 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.006937, allocations: 1.094 kB / 0.7943 GB, free: 4.672 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001696/0.007107, allocations: 20 kB / 0.7943 GB, free: 4.652 MB / 0.698 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.48e-05/0.007201, allocations: 104.1 kB / 0.7944 GB, free: 4.543 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.007358, allocations: 151.1 kB / 0.7945 GB, free: 4.375 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.007359, allocations: 4 kB / 0.7946 GB, free: 4.371 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.00739, allocations: 27.59 kB / 0.7946 GB, free: 4.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.007574, allocations: 18.78 kB / 0.7946 GB, free: 4.324 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.007937, allocations: 162.1 kB / 0.7948 GB, free: 4.137 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.696e-05/0.007974, allocations: 63.34 kB / 0.7948 GB, free: 4.055 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.007995, allocations: 4.078 kB / 0.7948 GB, free: 4.051 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.008075, allocations: 91.78 kB / 0.7949 GB, free: 3.961 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/0.008076, allocations: 0 / 0.7949 GB, free: 3.961 MB / 0.698 GB Notification: Performance of Templates: time 0.002943/0.01102, allocations: 1.696 MB / 0.7966 GB, free: 2.324 MB / 0.698 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: 5.127347411122173]