Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001145/0.001145, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001421/0.001421, allocations: 169 kB / 24.28 MB, free: 276 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 1.068/1.068, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.802/1.802, allocations: 359 MB / 0.6055 GB, free: 11.05 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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.587e-05, allocations: 10.34 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001623/0.001659, allocations: 0.7479 MB / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.003063, allocations: 1.191 MB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.003115, allocations: 0 / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.003145, allocations: 12.58 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.425e-05/0.00322, allocations: 11.86 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.003688, allocations: 137.6 kB / 0.7892 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.003871, allocations: 119.7 kB / 0.7893 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.003994, allocations: 4 kB / 0.7893 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.00413, allocations: 60.7 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.004223, allocations: 43.86 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.004252, allocations: 13.25 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.00433, allocations: 23.94 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.004369, allocations: 19.91 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.004435, allocations: 33.5 kB / 0.7895 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.004632, allocations: 99.67 kB / 0.7896 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.004636, allocations: 0 / 0.7896 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004637, allocations: 0 / 0.7896 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.004643, allocations: 1.5 kB / 0.7896 GB, free: 10.31 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005268/0.005169, allocations: 426.2 kB / 0.79 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.005216, allocations: 12.03 kB / 0.79 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.005286, allocations: 8.891 kB / 0.79 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.005404, allocations: 119.7 kB / 0.7901 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.005424, allocations: 12.36 kB / 0.7901 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.005445, allocations: 8.375 kB / 0.7901 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.005611, allocations: 66.88 kB / 0.7902 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.005619, allocations: 192 / 0.7902 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.00563, allocations: 384 / 0.7902 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.00564, allocations: 4.375 kB / 0.7902 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.005681, allocations: 11.92 kB / 0.7902 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.006169, allocations: 312.8 kB / 0.7905 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.006281, allocations: 47.64 kB / 0.7905 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.006318, allocations: 16.41 kB / 0.7906 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.006328, allocations: 128 / 0.7906 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.006448, allocations: 93.45 kB / 0.7907 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.006449, allocations: 5.594 kB / 0.7907 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002195/0.006669, allocations: 93.56 kB / 0.7907 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.006708, allocations: 51.41 kB / 0.7908 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.0068, allocations: 177.9 kB / 0.791 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.006822, allocations: 34.33 kB / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.006881, allocations: 138.8 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.006904, allocations: 28.69 kB / 0.7912 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.006959, allocations: 43.36 kB / 0.7912 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.007077, allocations: 496.6 kB / 0.7917 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.00716, allocations: 61.69 kB / 0.7917 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.007259, allocations: 108.8 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.007379, allocations: 118.1 kB / 0.7919 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.007383, allocations: 4 kB / 0.792 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002579/0.007641, allocations: 206.5 kB / 0.7922 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.007689, allocations: 45.62 kB / 0.7922 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.007696, allocations: 0 / 0.7922 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.007715, allocations: 6.5 kB / 0.7922 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.007818, allocations: 15.92 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.007827, allocations: 0 / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-05/0.007926, allocations: 19.98 kB / 0.7922 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.007944, allocations: 11.98 kB / 0.7922 GB, free: 7.285 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,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 0.0001057/0.00805, allocations: 163.9 kB / 0.7924 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.008072, allocations: 15.89 kB / 0.7924 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.00811, allocations: 12.44 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.008113, allocations: 0.5312 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.00812, allocations: 0 / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.008127, allocations: 0.5625 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.008485, allocations: 350.8 kB / 0.7928 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.008488, allocations: 0 / 0.7928 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.008526, allocations: 7.984 kB / 0.7928 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.008529, allocations: 4 kB / 0.7928 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.00854, allocations: 6.156 kB / 0.7928 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.008543, allocations: 4.062 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008545, allocations: 0 / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.008692, allocations: 235.7 kB / 0.793 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.008701, allocations: 4 kB / 0.793 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.008722, allocations: 4 kB / 0.793 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.261e-05/0.008765, allocations: 4.531 kB / 0.793 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.008817, allocations: 9.109 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.008825, allocations: 3.984 kB / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.008875, allocations: 131.2 kB / 0.7932 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008875, allocations: 0.8125 kB / 0.7932 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001949/0.00907, allocations: 27.98 kB / 0.7932 GB, free: 6.262 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 (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.000162/0.009232, allocations: 104.6 kB / 0.7933 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.00945, allocations: 170.7 kB / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.009452, allocations: 0 / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.009494, allocations: 28.08 kB / 0.7935 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.009728, allocations: 25.53 kB / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.01007, allocations: 164 kB / 0.7937 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.01012, allocations: 62.39 kB / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.01015, allocations: 5.031 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.01017, allocations: 12.5 kB / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.01018, allocations: 1.125 kB / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of Templates: time 0.00376/0.01394, allocations: 1.576 MB / 0.7953 GB, free: 4.094 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.379979932913557]