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.001326/0.001326, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009936/0.0009936, allocations: 161 kB / 23.82 MB, free: 0.75 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.9624/0.9624, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.847/1.847, allocations: 359 MB / 0.6052 GB, free: 11 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 2.565e-06/2.565e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.475e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001562/0.001597, allocations: 0.7557 MB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.00288, allocations: 1.199 MB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.002929, allocations: 0 / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.002962, allocations: 7.922 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.25e-05/0.003035, allocations: 13.09 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.003477, allocations: 131.6 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.003643, allocations: 120.4 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.00375, allocations: 9.406 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.003861, allocations: 63.94 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.003946, allocations: 43.81 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.003972, allocations: 12 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.004032, allocations: 24.77 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.004056, allocations: 11.92 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.004107, allocations: 36.53 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.004276, allocations: 95.73 kB / 0.7896 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004279, allocations: 0.6875 kB / 0.7896 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/0.00428, allocations: 4.906 kB / 0.7896 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.004286, allocations: 0 / 0.7896 GB, free: 9.965 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.0004891/0.004775, allocations: 426.8 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.004816, allocations: 8.031 kB / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.004873, allocations: 14.55 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.874e-05/0.004972, allocations: 124.5 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.004986, allocations: 4.375 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.005007, allocations: 12.38 kB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.005146, allocations: 60.53 kB / 0.7902 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.005155, allocations: 192 / 0.7902 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.005168, allocations: 4.375 kB / 0.7902 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.005177, allocations: 4.375 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.968e-05/0.005217, allocations: 11.92 kB / 0.7902 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.005636, allocations: 316.3 kB / 0.7905 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.005749, allocations: 50.55 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.005778, allocations: 15.69 kB / 0.7906 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.005786, allocations: 0 / 0.7906 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.005911, allocations: 88.95 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.005913, allocations: 0 / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002084/0.006121, allocations: 97.62 kB / 0.7908 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.006154, allocations: 51.48 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.006244, allocations: 178.6 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.006262, allocations: 29.7 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.006321, allocations: 143.3 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.00634, allocations: 29.14 kB / 0.7912 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.006395, allocations: 43.36 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.006519, allocations: 0.4884 MB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.006601, allocations: 57.69 kB / 0.7917 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/0.006696, allocations: 116.8 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.006811, allocations: 113.4 kB / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.006813, allocations: 0 / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002478/0.007061, allocations: 214.2 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.007097, allocations: 41.62 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007102, allocations: 0.6562 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.007122, allocations: 1.344 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.007207, allocations: 11.98 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.007215, allocations: 4 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.007311, allocations: 24.55 kB / 0.7922 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.007328, allocations: 8.547 kB / 0.7922 GB, free: 6.941 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 9.811e-05/0.007426, allocations: 169.7 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.007446, allocations: 11.89 kB / 0.7924 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.007481, allocations: 13.16 kB / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.007484, allocations: 0 / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.007488, allocations: 1.344 kB / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.007493, allocations: 3.984 kB / 0.7924 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.007781, allocations: 349.2 kB / 0.7928 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.007784, allocations: 0 / 0.7928 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.007816, allocations: 9.234 kB / 0.7928 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.00782, allocations: 4 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.007829, allocations: 0 / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.007831, allocations: 4.594 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007833, allocations: 0.5312 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.007981, allocations: 235.8 kB / 0.793 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.007991, allocations: 12.8 kB / 0.793 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.00801, allocations: 0 / 0.793 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.00805, allocations: 8.797 kB / 0.793 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.008096, allocations: 4 kB / 0.793 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.008103, allocations: 8.797 kB / 0.793 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.008151, allocations: 131.2 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008151, allocations: 0.9375 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001801/0.008331, allocations: 23.98 kB / 0.7932 GB, free: 5.91 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.0001642/0.008496, allocations: 109.3 kB / 0.7933 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.008711, allocations: 158.1 kB / 0.7935 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008713, allocations: 4 kB / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.008757, allocations: 33.92 kB / 0.7935 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.008972, allocations: 24.06 kB / 0.7935 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.009595, allocations: 162.7 kB / 0.7937 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.778e-05/0.009632, allocations: 62.69 kB / 0.7937 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.009658, allocations: 4 kB / 0.7937 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.009686, allocations: 12.5 kB / 0.7937 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.009687, allocations: 0 / 0.7937 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.003565/0.01325, allocations: 1.576 MB / 0.7953 GB, free: 3.75 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.170874274801463]