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.001053/0.001053, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001909/0.001909, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9791/0.9791, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.694/1.694, allocations: 359 MB / 0.6052 GB, free: 11.02 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 2.405e-06/2.405e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.203e-05, allocations: 4 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001617/0.001639, allocations: 0.7669 MB / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003032, allocations: 1.199 MB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.00308, allocations: 0 / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.003112, allocations: 4.75 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.003192, allocations: 8.906 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.003658, allocations: 136.1 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.003829, allocations: 124.5 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.003916, allocations: 7.984 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.004031, allocations: 73.09 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.004113, allocations: 31.89 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.00414, allocations: 12 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.288e-05/0.004203, allocations: 31.91 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.004225, allocations: 12.48 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.00428, allocations: 34.77 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.00445, allocations: 103.7 kB / 0.7896 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004452, allocations: 0 / 0.7896 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.694e-06/0.004454, allocations: 3.984 kB / 0.7896 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.004458, allocations: 0 / 0.7896 GB, free: 9.961 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.0004836/0.004942, allocations: 422.2 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.004979, allocations: 12.03 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.00504, allocations: 18.27 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.827e-05/0.005128, allocations: 116.5 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005142, allocations: 4.375 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.005164, allocations: 12.36 kB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.005303, allocations: 71.47 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.005312, allocations: 1.125 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.005323, allocations: 384 / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.005331, allocations: 384 / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.005375, allocations: 16.64 kB / 0.7902 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.005783, allocations: 316.6 kB / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.00589, allocations: 52.42 kB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.005919, allocations: 15.67 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.005926, allocations: 0 / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.006031, allocations: 77.09 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.285e-06/0.006033, allocations: 9.797 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002232/0.006256, allocations: 101.5 kB / 0.7908 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.00629, allocations: 51.41 kB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.006382, allocations: 181.8 kB / 0.791 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.006403, allocations: 35.23 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.006471, allocations: 146.9 kB / 0.7912 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.006491, allocations: 15.91 kB / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.006558, allocations: 43.36 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.006692, allocations: 0.4889 MB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.006783, allocations: 61.67 kB / 0.7918 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.006887, allocations: 110 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.007012, allocations: 124 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007014, allocations: 2.469 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002753/0.00729, allocations: 204.9 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.007321, allocations: 33.7 kB / 0.7922 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007327, allocations: 0 / 0.7922 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.007343, allocations: 4.531 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.007421, allocations: 20.64 kB / 0.7922 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.007426, allocations: 64 / 0.7922 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.007535, allocations: 32.45 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.007554, allocations: 9.625 kB / 0.7923 GB, free: 6.918 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.946e-05/0.007644, allocations: 166.2 kB / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.007665, allocations: 23.83 kB / 0.7925 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.007689, allocations: 9.047 kB / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.00769, allocations: 0.6875 kB / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.007694, allocations: 0 / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007698, allocations: 0.6875 kB / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.007969, allocations: 341.4 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.00797, allocations: 1.156 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.007999, allocations: 7.938 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008001, allocations: 0 / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.00801, allocations: 4.5 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.008014, allocations: 4.484 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008015, allocations: 0.8438 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.008162, allocations: 231.8 kB / 0.793 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.008174, allocations: 11.94 kB / 0.793 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.008194, allocations: 12.78 kB / 0.7931 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.008246, allocations: 0 / 0.7931 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.008287, allocations: 9.703 kB / 0.7931 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.008294, allocations: 0 / 0.7931 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.008343, allocations: 135.2 kB / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008343, allocations: 0 / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000254/0.008597, allocations: 28 kB / 0.7932 GB, free: 5.891 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.0001204/0.008718, allocations: 110.2 kB / 0.7933 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.008949, allocations: 164.7 kB / 0.7935 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008951, allocations: 0 / 0.7935 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.008997, allocations: 28.14 kB / 0.7935 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.009262, allocations: 25.95 kB / 0.7935 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.009567, allocations: 162.7 kB / 0.7937 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.009604, allocations: 55.36 kB / 0.7937 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.009633, allocations: 14.27 kB / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.009659, allocations: 12.5 kB / 0.7938 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.00966, allocations: 0 / 0.7938 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.003874/0.01353, allocations: 1.734 MB / 0.7955 GB, free: 3.574 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.186165343038738]