Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009641/0.0009641, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009473/0.0009473, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9757/0.9757, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.35/2.35, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.275e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001491/0.001514, allocations: 0.7673 MB / 0.8905 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.002868, allocations: 1.174 MB / 0.8917 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.002922, allocations: 3.938 kB / 0.8917 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.002953, allocations: 7.922 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.023e-05/0.003043, allocations: 11.94 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.003486, allocations: 135.5 kB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.003636, allocations: 115.8 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.675e-05/0.003723, allocations: 15.98 kB / 0.8919 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.003842, allocations: 67.83 kB / 0.892 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.00392, allocations: 35.92 kB / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.00394, allocations: 8 kB / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.003992, allocations: 23.98 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.004013, allocations: 15.94 kB / 0.8921 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.004051, allocations: 39.89 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.004175, allocations: 87.81 kB / 0.8922 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004177, allocations: 0 / 0.8922 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.91e-07/0.004178, allocations: 0 / 0.8922 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004182, allocations: 3.938 kB / 0.8922 GB, free: 7.188 MB / 0.8542 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.0004058/0.004587, allocations: 442 kB / 0.8926 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.004626, allocations: 8.031 kB / 0.8926 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.004665, allocations: 16.88 kB / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/0.004757, allocations: 120.5 kB / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.004769, allocations: 4.375 kB / 0.8928 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.004787, allocations: 12.38 kB / 0.8928 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.004895, allocations: 62.94 kB / 0.8928 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004902, allocations: 192 / 0.8928 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.004909, allocations: 384 / 0.8928 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.004915, allocations: 384 / 0.8928 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.004946, allocations: 27.84 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.005237, allocations: 296.4 kB / 0.8932 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.992e-05/0.005306, allocations: 39.11 kB / 0.8932 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.005325, allocations: 23.61 kB / 0.8932 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.005333, allocations: 4.125 kB / 0.8932 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.783e-05/0.005411, allocations: 69.03 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.005412, allocations: 0 / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001571/0.005569, allocations: 97.55 kB / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.005598, allocations: 55.34 kB / 0.8934 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.005668, allocations: 173.9 kB / 0.8936 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.005686, allocations: 33.7 kB / 0.8936 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.005737, allocations: 138.8 kB / 0.8938 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.005757, allocations: 27.81 kB / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.005803, allocations: 39.36 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.005924, allocations: 0.4923 MB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/0.005975, allocations: 57.62 kB / 0.8944 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.006048, allocations: 108.1 kB / 0.8945 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.673e-05/0.006134, allocations: 116 kB / 0.8946 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006136, allocations: 0 / 0.8946 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00018/0.006316, allocations: 196.9 kB / 0.8948 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.006343, allocations: 41.64 kB / 0.8948 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.006347, allocations: 320 / 0.8948 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.006358, allocations: 4 kB / 0.8948 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.006411, allocations: 11.98 kB / 0.8948 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.006414, allocations: 3.938 kB / 0.8948 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.006495, allocations: 19.98 kB / 0.8948 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.006512, allocations: 19.97 kB / 0.8949 GB, free: 4.184 MB / 0.8542 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 6.863e-05/0.00658, allocations: 160.6 kB / 0.895 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.006592, allocations: 11.95 kB / 0.895 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.006614, allocations: 16.38 kB / 0.895 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.006615, allocations: 0 / 0.895 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.006617, allocations: 0 / 0.895 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006621, allocations: 3.984 kB / 0.895 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.00682, allocations: 318 kB / 0.8953 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006821, allocations: 0 / 0.8953 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.006843, allocations: 12.05 kB / 0.8954 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.006846, allocations: 3.938 kB / 0.8954 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.00685, allocations: 0 / 0.8954 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006851, allocations: 4 kB / 0.8954 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006851, allocations: 4 kB / 0.8954 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.006954, allocations: 223.8 kB / 0.8956 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.006966, allocations: 19.83 kB / 0.8956 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.006977, allocations: 0 / 0.8956 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.007012, allocations: 4 kB / 0.8956 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.00704, allocations: 11.98 kB / 0.8956 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.007043, allocations: 0 / 0.8956 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.007083, allocations: 143.6 kB / 0.8958 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007083, allocations: 0 / 0.8958 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001665/0.00725, allocations: 28 kB / 0.8958 GB, free: 3.176 MB / 0.8542 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 9.103e-05/0.007341, allocations: 99.23 kB / 0.8959 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.007486, allocations: 152.7 kB / 0.896 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.007491, allocations: 8 kB / 0.896 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.007519, allocations: 27.61 kB / 0.8961 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.007692, allocations: 11.98 kB / 0.8961 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.007919, allocations: 170.7 kB / 0.8962 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.135e-05/0.00795, allocations: 63.34 kB / 0.8963 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.007971, allocations: 4 kB / 0.8963 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.008048, allocations: 90.17 kB / 0.8964 GB, free: 2.477 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.008048, allocations: 0 / 0.8964 GB, free: 2.477 MB / 0.8542 GB Notification: Performance of Templates: time 0.003029/0.01108, allocations: 1.768 MB / 0.8981 GB, free: 0.7461 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.247444175183773]