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.001027/0.001027, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001023/0.001023, allocations: 165 kB / 23.82 MB, free: 0.7461 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.055/1.055, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.842/1.842, allocations: 359 MB / 0.6052 GB, free: 10.98 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 3.958e-06/3.958e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.616e-05/4.012e-05, allocations: 8.641 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001792/0.001833, allocations: 0.7275 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.00318, allocations: 1.241 MB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.003233, allocations: 4 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.003269, allocations: 9.328 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.003346, allocations: 11.86 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.003842, allocations: 140.2 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.003997, allocations: 120.7 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.004094, allocations: 11.92 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.004203, allocations: 69.91 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.004288, allocations: 31.89 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.004313, allocations: 12 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.091e-05/0.004383, allocations: 27.97 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.004404, allocations: 8 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.004459, allocations: 39.89 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.004627, allocations: 104.3 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.00463, allocations: 1.062 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004632, allocations: 0 / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.004636, allocations: 0 / 0.7896 GB, free: 9.941 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.0004674/0.005104, allocations: 419.8 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.005145, allocations: 12.03 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.005258, allocations: 24.81 kB / 0.79 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.005345, allocations: 120.5 kB / 0.7901 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.005358, allocations: 1.938 kB / 0.7901 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.005384, allocations: 8.375 kB / 0.7901 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.005517, allocations: 70.91 kB / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.005526, allocations: 192 / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.005538, allocations: 10.17 kB / 0.7902 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005544, allocations: 384 / 0.7902 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.365e-05/0.005578, allocations: 11.94 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.005968, allocations: 307.6 kB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.398e-05/0.006052, allocations: 41.48 kB / 0.7906 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.006076, allocations: 11.69 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.006097, allocations: 4.078 kB / 0.7906 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.006204, allocations: 80.94 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.006205, allocations: 3.938 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002318/0.006437, allocations: 98.34 kB / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.00647, allocations: 51.41 kB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.006558, allocations: 179.5 kB / 0.791 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.006578, allocations: 33.7 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.006631, allocations: 134.9 kB / 0.7911 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.006648, allocations: 7.906 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.006704, allocations: 49.09 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.006824, allocations: 0.4884 MB / 0.7917 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.006901, allocations: 61.67 kB / 0.7917 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.007124, allocations: 108.3 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.922e-05/0.007223, allocations: 105.1 kB / 0.7919 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.007226, allocations: 0.8438 kB / 0.7919 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002278/0.007454, allocations: 202.8 kB / 0.7921 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.007492, allocations: 37.69 kB / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007497, allocations: 0 / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.007516, allocations: 0 / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.007607, allocations: 12 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.007614, allocations: 6.156 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.22e-05/0.007706, allocations: 35.86 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.007721, allocations: 4 kB / 0.7922 GB, free: 6.973 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 8.181e-05/0.007803, allocations: 164.6 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.007819, allocations: 12.42 kB / 0.7924 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.00796, allocations: 82.81 kB / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.007963, allocations: 0 / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.007967, allocations: 4.531 kB / 0.7925 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.00797, allocations: 0 / 0.7925 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.008182, allocations: 323 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.008184, allocations: 0 / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.008225, allocations: 15.98 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008227, allocations: 0 / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.008235, allocations: 0.5312 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.008236, allocations: 1.312 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.008239, allocations: 4 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.00837, allocations: 231.8 kB / 0.793 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.008381, allocations: 7.953 kB / 0.793 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.0084, allocations: 1.25 kB / 0.793 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.008442, allocations: 11.98 kB / 0.793 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.00848, allocations: 3.984 kB / 0.793 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.008488, allocations: 9.359 kB / 0.793 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.008529, allocations: 127.2 kB / 0.7932 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008529, allocations: 0 / 0.7932 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001876/0.008717, allocations: 20 kB / 0.7932 GB, free: 5.906 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 0.0001398/0.008856, allocations: 112.9 kB / 0.7933 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.009057, allocations: 156.7 kB / 0.7934 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009059, allocations: 5.219 kB / 0.7934 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.009099, allocations: 31.61 kB / 0.7935 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.009327, allocations: 16.52 kB / 0.7935 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.009854, allocations: 164.5 kB / 0.7936 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.959e-05/0.009894, allocations: 59.34 kB / 0.7937 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.009919, allocations: 4 kB / 0.7937 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.009946, allocations: 13.41 kB / 0.7937 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.009947, allocations: 0 / 0.7937 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of Templates: time 0.003508/0.01345, allocations: 1.531 MB / 0.7952 GB, free: 3.805 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: 5.243218896910548]