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.001011/0.001011, 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.00119/0.00119, allocations: 162.7 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.9783/0.9783, 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.878/1.878, allocations: 359 MB / 0.6063 GB, free: 10.91 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 1.873e-06/1.873e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.638e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00154/0.001566, allocations: 0.7684 MB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.002742, allocations: 1.187 MB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.002789, allocations: 0 / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.002814, allocations: 4.469 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.002886, allocations: 20.77 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.003273, allocations: 132.5 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.003408, allocations: 119.7 kB / 0.7905 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.003488, allocations: 9.156 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.914e-05/0.003587, allocations: 67.88 kB / 0.7906 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.003659, allocations: 35.94 kB / 0.7906 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.003682, allocations: 12.56 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.003735, allocations: 24.61 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.003755, allocations: 11.92 kB / 0.7907 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.003797, allocations: 36.81 kB / 0.7907 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.003934, allocations: 99.73 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003936, allocations: 0.6562 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003936, allocations: 0 / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.00394, allocations: 0.6562 kB / 0.7908 GB, free: 9.691 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.0003737/0.004314, allocations: 427.8 kB / 0.7912 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.004344, allocations: 8.031 kB / 0.7912 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.00438, allocations: 16.83 kB / 0.7912 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.463e-05/0.004455, allocations: 120.5 kB / 0.7913 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.004467, allocations: 4.375 kB / 0.7913 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.004485, allocations: 13.72 kB / 0.7914 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.612e-05/0.004581, allocations: 58.94 kB / 0.7914 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.004587, allocations: 192 / 0.7914 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.004594, allocations: 1.969 kB / 0.7914 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.004599, allocations: 384 / 0.7914 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.004627, allocations: 23.86 kB / 0.7914 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.004942, allocations: 288.3 kB / 0.7917 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.005025, allocations: 50.64 kB / 0.7918 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.005046, allocations: 15.81 kB / 0.7918 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.005053, allocations: 4 kB / 0.7918 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.61e-05/0.005139, allocations: 73.02 kB / 0.7918 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.005141, allocations: 0 / 0.7918 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001614/0.005302, allocations: 93.5 kB / 0.7919 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.005335, allocations: 55.41 kB / 0.792 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.005414, allocations: 178.5 kB / 0.7922 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.005432, allocations: 29.7 kB / 0.7922 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.005485, allocations: 139.5 kB / 0.7923 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.005504, allocations: 19.83 kB / 0.7923 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.005557, allocations: 47.83 kB / 0.7924 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.005663, allocations: 0.4895 MB / 0.7929 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.005718, allocations: 57.67 kB / 0.7929 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.005787, allocations: 96.11 kB / 0.793 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.416e-05/0.005881, allocations: 126 kB / 0.7931 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.005884, allocations: 4 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000189/0.006073, allocations: 194.9 kB / 0.7933 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.0061, allocations: 41.69 kB / 0.7934 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.006105, allocations: 3.938 kB / 0.7934 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.006112, allocations: 0.9062 kB / 0.7934 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.006166, allocations: 11.94 kB / 0.7934 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.00617, allocations: 5.031 kB / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.006255, allocations: 23.97 kB / 0.7934 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.006268, allocations: 10.22 kB / 0.7934 GB, free: 6.734 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 7.907e-05/0.006347, allocations: 174.1 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.00636, allocations: 8.016 kB / 0.7936 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.006381, allocations: 16.38 kB / 0.7936 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.006384, allocations: 6.812 kB / 0.7936 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.006385, allocations: 0 / 0.7936 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.006388, allocations: 0 / 0.7936 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.006589, allocations: 321.9 kB / 0.7939 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.00659, allocations: 0 / 0.7939 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.006613, allocations: 4 kB / 0.7939 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.006615, allocations: 3.938 kB / 0.7939 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.006622, allocations: 5.562 kB / 0.7939 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.006622, allocations: 0 / 0.7939 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.006623, allocations: 0 / 0.7939 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.006736, allocations: 227.8 kB / 0.7941 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.006744, allocations: 3.984 kB / 0.7941 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.006757, allocations: 8.562 kB / 0.7942 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.006794, allocations: 4.547 kB / 0.7942 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.006821, allocations: 11.98 kB / 0.7942 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.006825, allocations: 0.5625 kB / 0.7942 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.006865, allocations: 135.8 kB / 0.7943 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006865, allocations: 0 / 0.7943 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001718/0.007037, allocations: 25.28 kB / 0.7943 GB, free: 5.746 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 9.524e-05/0.007132, allocations: 107.2 kB / 0.7944 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.007285, allocations: 167.2 kB / 0.7946 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007286, allocations: 0 / 0.7946 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.007315, allocations: 23.62 kB / 0.7946 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.00749, allocations: 13.58 kB / 0.7946 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.007722, allocations: 163.7 kB / 0.7948 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.007757, allocations: 63.34 kB / 0.7948 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.00778, allocations: 9.109 kB / 0.7948 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.00786, allocations: 86.19 kB / 0.7949 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.007861, allocations: 0.8438 kB / 0.7949 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of Templates: time 0.003089/0.01095, allocations: 1.76 MB / 0.7966 GB, free: 3.336 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.073866945225745]