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.001021/0.001021, allocations: 81.95 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.001312/0.001312, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9643/0.9643, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.755/1.755, allocations: 359 MB / 0.6063 GB, free: 10.9 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.014e-06/2.014e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.053e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00189/0.00191, allocations: 0.7706 MB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.003812, allocations: 1.195 MB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.003877, allocations: 0 / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.003912, allocations: 3.938 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.004016, allocations: 16.92 kB / 0.7903 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.004553, allocations: 137.1 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.004765, allocations: 119.7 kB / 0.7905 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.004867, allocations: 7.984 kB / 0.7905 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.005016, allocations: 76.47 kB / 0.7906 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.005104, allocations: 23.95 kB / 0.7906 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.005128, allocations: 13.19 kB / 0.7906 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.477e-05/0.005193, allocations: 27.92 kB / 0.7906 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.00522, allocations: 15.92 kB / 0.7907 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.005265, allocations: 33.28 kB / 0.7907 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.005437, allocations: 103.7 kB / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.00544, allocations: 0 / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005441, allocations: 0 / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.005447, allocations: 0.9688 kB / 0.7908 GB, free: 9.695 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.000692/0.00614, allocations: 434.1 kB / 0.7912 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.006194, allocations: 8.781 kB / 0.7912 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.00626, allocations: 12.89 kB / 0.7912 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.006406, allocations: 119 kB / 0.7913 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.006428, allocations: 4.375 kB / 0.7913 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.006454, allocations: 12.38 kB / 0.7914 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.006598, allocations: 62.88 kB / 0.7914 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006608, allocations: 4.172 kB / 0.7914 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.006617, allocations: 4.375 kB / 0.7914 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.006624, allocations: 6.125 kB / 0.7914 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.248e-05/0.006657, allocations: 11.92 kB / 0.7914 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.007043, allocations: 304.3 kB / 0.7917 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.007148, allocations: 43.64 kB / 0.7918 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.007173, allocations: 12.41 kB / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.00718, allocations: 0 / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.007296, allocations: 73.55 kB / 0.7919 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.007298, allocations: 1.656 kB / 0.7919 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002109/0.007509, allocations: 97.62 kB / 0.792 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.00755, allocations: 51.41 kB / 0.792 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.007656, allocations: 185.8 kB / 0.7922 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.007682, allocations: 33.69 kB / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.007757, allocations: 139.4 kB / 0.7923 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.007781, allocations: 12.5 kB / 0.7924 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.00786, allocations: 51.33 kB / 0.7924 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.00801, allocations: 496.9 kB / 0.7929 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.008082, allocations: 57.67 kB / 0.7929 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.276e-05/0.008175, allocations: 109.2 kB / 0.793 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.008296, allocations: 109.8 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008298, allocations: 0 / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002746/0.008573, allocations: 206.7 kB / 0.7933 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.008607, allocations: 41.56 kB / 0.7934 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.008614, allocations: 4 kB / 0.7934 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.008624, allocations: 5.188 kB / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.008695, allocations: 8 kB / 0.7934 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.008701, allocations: 4 kB / 0.7934 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.00882, allocations: 29.2 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.008839, allocations: 12.06 kB / 0.7934 GB, free: 6.715 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 9.705e-05/0.008936, allocations: 168.2 kB / 0.7936 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.008954, allocations: 19.88 kB / 0.7936 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.00898, allocations: 12.38 kB / 0.7936 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.008983, allocations: 0 / 0.7936 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.008985, allocations: 6.562 kB / 0.7936 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.00899, allocations: 0 / 0.7936 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.009281, allocations: 310.1 kB / 0.7939 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009283, allocations: 0 / 0.7939 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.009316, allocations: 7.938 kB / 0.7939 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.00932, allocations: 3.938 kB / 0.7939 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.009328, allocations: 4.5 kB / 0.7939 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00933, allocations: 0.5312 kB / 0.7939 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009331, allocations: 0 / 0.7939 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.00948, allocations: 229.8 kB / 0.7942 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.009492, allocations: 11.89 kB / 0.7942 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.00951, allocations: 4 kB / 0.7942 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.00957, allocations: 7.984 kB / 0.7942 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.009604, allocations: 7.984 kB / 0.7942 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.00961, allocations: 2.594 kB / 0.7942 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.009658, allocations: 131.2 kB / 0.7943 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009659, allocations: 0 / 0.7943 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002685/0.009927, allocations: 24 kB / 0.7943 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: 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.0001414/0.01007, allocations: 111.1 kB / 0.7945 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.0103, allocations: 161.6 kB / 0.7946 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.0103, allocations: 0.7812 kB / 0.7946 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.01034, allocations: 23.62 kB / 0.7946 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.01061, allocations: 17.27 kB / 0.7946 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.01092, allocations: 167.3 kB / 0.7948 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.01096, allocations: 64 kB / 0.7949 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.011, allocations: 11.08 kB / 0.7949 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.01111, allocations: 94.19 kB / 0.795 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01111, allocations: 0 / 0.795 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.004308/0.01542, allocations: 1.777 MB / 0.7967 GB, free: 3.297 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.0199576281011105]