Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001127/0.001127, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.001121/0.001121, allocations: 169 kB / 24.28 MB, free: 268 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.9897/0.9897, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.805/1.805, allocations: 359 MB / 0.6055 GB, free: 11.03 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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.398e-05, allocations: 7.219 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001477/0.001501, allocations: 0.7582 MB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.002787, allocations: 1.186 MB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.002842, allocations: 0.9375 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.002877, allocations: 3.938 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.053e-05/0.002967, allocations: 17.77 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.003385, allocations: 135.6 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.003555, allocations: 119.7 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.003673, allocations: 12.56 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.003799, allocations: 73.05 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.003884, allocations: 35.86 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.003909, allocations: 12 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.003972, allocations: 24.5 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.003999, allocations: 11.98 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.00406, allocations: 40.73 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.004235, allocations: 99.69 kB / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004237, allocations: 0.625 kB / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004238, allocations: 0 / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.004243, allocations: 1.219 kB / 0.7896 GB, free: 10.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005495/0.004793, allocations: 426.2 kB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.004833, allocations: 10.69 kB / 0.79 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.004895, allocations: 20.89 kB / 0.79 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.283e-05/0.004988, allocations: 120.5 kB / 0.7901 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.005002, allocations: 4.375 kB / 0.7901 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.005021, allocations: 12.38 kB / 0.7901 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.005155, allocations: 66.88 kB / 0.7902 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005163, allocations: 192 / 0.7902 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.005175, allocations: 5.938 kB / 0.7902 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.005183, allocations: 384 / 0.7902 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.927e-05/0.005222, allocations: 15.92 kB / 0.7902 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.005646, allocations: 315.7 kB / 0.7905 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.005749, allocations: 44.41 kB / 0.7906 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.005777, allocations: 15.67 kB / 0.7906 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-06/0.005786, allocations: 4.906 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.00589, allocations: 85.16 kB / 0.7907 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.005892, allocations: 5.469 kB / 0.7907 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002083/0.0061, allocations: 93.56 kB / 0.7908 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.006136, allocations: 55.41 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.006224, allocations: 181.8 kB / 0.791 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.006247, allocations: 34.73 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.006303, allocations: 138.9 kB / 0.7912 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.006321, allocations: 11.91 kB / 0.7912 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.006373, allocations: 48.03 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.006494, allocations: 496.1 kB / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.006575, allocations: 68.23 kB / 0.7918 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.006657, allocations: 104.1 kB / 0.7919 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.006765, allocations: 128 kB / 0.792 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.006767, allocations: 0.5312 kB / 0.792 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002269/0.006994, allocations: 214.4 kB / 0.7922 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.007025, allocations: 33.69 kB / 0.7922 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.007031, allocations: 5.625 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.007046, allocations: 0 / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.007125, allocations: 15.94 kB / 0.7922 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.007132, allocations: 4 kB / 0.7922 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.007222, allocations: 29.14 kB / 0.7923 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.007236, allocations: 4 kB / 0.7923 GB, free: 7.242 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.676e-05/0.007322, allocations: 169.3 kB / 0.7924 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.007338, allocations: 20.97 kB / 0.7925 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.007362, allocations: 4.438 kB / 0.7925 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.007366, allocations: 7.938 kB / 0.7925 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.00737, allocations: 1.375 kB / 0.7925 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.007375, allocations: 0 / 0.7925 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.007633, allocations: 337.4 kB / 0.7928 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.007634, allocations: 5.812 kB / 0.7928 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.007659, allocations: 4 kB / 0.7928 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.007661, allocations: 3.938 kB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.007672, allocations: 12.05 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.007674, allocations: 4 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007675, allocations: 1 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.007797, allocations: 227.8 kB / 0.793 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.007806, allocations: 11.95 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.007824, allocations: 4.688 kB / 0.7931 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/0.00786, allocations: 5.031 kB / 0.7931 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.007898, allocations: 7.969 kB / 0.7931 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.007905, allocations: 4 kB / 0.7931 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.007946, allocations: 136.6 kB / 0.7932 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007946, allocations: 0 / 0.7932 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001666/0.008113, allocations: 25.53 kB / 0.7932 GB, free: 6.211 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001165/0.00823, allocations: 111.1 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.008425, allocations: 169.7 kB / 0.7935 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.008427, allocations: 0 / 0.7935 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.008463, allocations: 25.73 kB / 0.7935 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.008657, allocations: 21.97 kB / 0.7935 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.008928, allocations: 164.8 kB / 0.7937 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.336e-05/0.008962, allocations: 59.34 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.008986, allocations: 4 kB / 0.7938 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.009009, allocations: 12.5 kB / 0.7938 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.009009, allocations: 3.938 kB / 0.7938 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.003124/0.01213, allocations: 1.587 MB / 0.7953 GB, free: 4.043 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.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.285085849929601]