Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001015/0.001015, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001202/0.001202, allocations: 169 kB / 23.27 MB, free: 1.223 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.9089/0.9089, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.37/2.37, allocations: 438.1 MB / 0.682 GB, free: 14.2 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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8898 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/2.007e-05, allocations: 9.547 kB / 0.8898 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001264/0.001284, allocations: 0.7633 MB / 0.8905 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.002454, allocations: 1.174 MB / 0.8917 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.002505, allocations: 0 / 0.8917 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.002539, allocations: 3.938 kB / 0.8917 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.002624, allocations: 19.84 kB / 0.8917 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.003045, allocations: 127.6 kB / 0.8918 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.003189, allocations: 123.7 kB / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.003268, allocations: 15.98 kB / 0.8919 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003369, allocations: 63.89 kB / 0.892 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.003438, allocations: 39.92 kB / 0.892 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.003458, allocations: 8 kB / 0.892 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.513e-05/0.003513, allocations: 19.94 kB / 0.8921 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.003534, allocations: 15.98 kB / 0.8921 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.003572, allocations: 35.91 kB / 0.8921 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.003722, allocations: 95.75 kB / 0.8922 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003724, allocations: 0 / 0.8922 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003725, allocations: 0 / 0.8922 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003729, allocations: 3.938 kB / 0.8922 GB, free: 7.266 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000403/0.004132, allocations: 434.1 kB / 0.8926 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.004167, allocations: 12.03 kB / 0.8926 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.004205, allocations: 12.89 kB / 0.8926 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.671e-05/0.004282, allocations: 124.4 kB / 0.8928 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.004292, allocations: 8.375 kB / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.004307, allocations: 8.375 kB / 0.8928 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.241e-05/0.004399, allocations: 66.86 kB / 0.8928 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004406, allocations: 4.188 kB / 0.8928 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.004413, allocations: 4.359 kB / 0.8928 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004418, allocations: 4.375 kB / 0.8929 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.00444, allocations: 7.938 kB / 0.8929 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.004703, allocations: 292.3 kB / 0.8931 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.004776, allocations: 43.05 kB / 0.8932 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.004793, allocations: 23.75 kB / 0.8932 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.004801, allocations: 3.984 kB / 0.8932 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/0.004878, allocations: 69.17 kB / 0.8933 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 7.82e-07/0.004879, allocations: 0 / 0.8933 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001452/0.005024, allocations: 97.48 kB / 0.8934 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.00505, allocations: 55.41 kB / 0.8934 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.005121, allocations: 173.9 kB / 0.8936 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.005139, allocations: 33.7 kB / 0.8936 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.005185, allocations: 134.9 kB / 0.8937 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.005204, allocations: 23.83 kB / 0.8938 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.005251, allocations: 47.34 kB / 0.8938 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.005355, allocations: 0.4884 MB / 0.8943 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.655e-05/0.005402, allocations: 49.69 kB / 0.8943 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.005466, allocations: 108 kB / 0.8944 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.005545, allocations: 120 kB / 0.8946 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.005548, allocations: 0 / 0.8946 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001791/0.005727, allocations: 196.9 kB / 0.8947 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.005752, allocations: 45.62 kB / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.005757, allocations: 320 / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.005767, allocations: 4 kB / 0.8948 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.005818, allocations: 11.92 kB / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.005821, allocations: 4 kB / 0.8948 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.005898, allocations: 23.92 kB / 0.8948 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.005911, allocations: 11.97 kB / 0.8948 GB, free: 4.277 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,edge1.y,edge1.u,$PRE.edge1.u,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.935e-05/0.005981, allocations: 170.1 kB / 0.895 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.005991, allocations: 7.953 kB / 0.895 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.006015, allocations: 16.38 kB / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.006016, allocations: 0 / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.006018, allocations: 0 / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006022, allocations: 0 / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.006219, allocations: 314 kB / 0.8953 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.00622, allocations: 0 / 0.8953 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.00624, allocations: 4 kB / 0.8953 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.006244, allocations: 7.938 kB / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.006251, allocations: 11.98 kB / 0.8953 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006253, allocations: 3.938 kB / 0.8953 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006254, allocations: 0 / 0.8953 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.006363, allocations: 219.9 kB / 0.8956 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.006375, allocations: 19.88 kB / 0.8956 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.006388, allocations: 4 kB / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.006422, allocations: 0 / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.006452, allocations: 7.984 kB / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.006458, allocations: 8 kB / 0.8956 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.006515, allocations: 131.2 kB / 0.8957 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.006516, allocations: 7.938 kB / 0.8957 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000194/0.00671, allocations: 24 kB / 0.8958 GB, free: 3.277 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001088/0.006818, allocations: 115.1 kB / 0.8959 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.006975, allocations: 152.7 kB / 0.896 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006976, allocations: 0 / 0.896 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.007009, allocations: 27.66 kB / 0.896 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.00719, allocations: 16.23 kB / 0.896 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.007415, allocations: 166.7 kB / 0.8962 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.073e-05/0.007446, allocations: 59.36 kB / 0.8963 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.007474, allocations: 11.97 kB / 0.8963 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.007552, allocations: 86.19 kB / 0.8964 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.007552, allocations: 0 / 0.8964 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of Templates: time 0.003095/0.01065, allocations: 1.765 MB / 0.8981 GB, free: 0.8398 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.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.22484443988651]