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.0009535/0.0009535, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001657/0.001657, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.391/2.391, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.783e-06/1.783e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.366e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001189/0.001203, allocations: 0.7518 MB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.002318, allocations: 1.185 MB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.002358, allocations: 8 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.002382, allocations: 3.938 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.002447, allocations: 11.88 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.002818, allocations: 135.5 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.002967, allocations: 119.7 kB / 0.8408 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.393e-05/0.003041, allocations: 11.98 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.003144, allocations: 59.95 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.003217, allocations: 39.86 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.003239, allocations: 16 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-05/0.003295, allocations: 23.98 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.003315, allocations: 8 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.003355, allocations: 39.89 kB / 0.841 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.003489, allocations: 95.69 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003491, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003491, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.003494, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 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.0003486/0.003843, allocations: 302.4 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.003875, allocations: 8.031 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.003908, allocations: 16.92 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.259e-05/0.003981, allocations: 113.7 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.003992, allocations: 8.375 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.004008, allocations: 4.375 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.004095, allocations: 66.92 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004103, allocations: 4.172 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.004111, allocations: 8.312 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.004116, allocations: 384 / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.004139, allocations: 11.92 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.00437, allocations: 176.2 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.004445, allocations: 42.5 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.004463, allocations: 16.98 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.004469, allocations: 0 / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.383e-05/0.004543, allocations: 67.44 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.004544, allocations: 0 / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001142/0.004658, allocations: 77.53 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.004688, allocations: 55.41 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/0.004745, allocations: 122.6 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.004762, allocations: 29.7 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.004796, allocations: 100.1 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.004813, allocations: 15.89 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.004856, allocations: 33.69 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.209e-05/0.004928, allocations: 322.8 kB / 0.8426 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.74e-05/0.004975, allocations: 53.69 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.00503, allocations: 85.95 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/0.005101, allocations: 93.91 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.005102, allocations: 8 kB / 0.8428 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001291/0.005231, allocations: 168.9 kB / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.005256, allocations: 37.7 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.005261, allocations: 7.938 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.005273, allocations: 0 / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.005328, allocations: 11.98 kB / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.005331, allocations: 3.938 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.005408, allocations: 32.05 kB / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.00542, allocations: 11.98 kB / 0.8431 GB, free: 9.395 MB / 0.8073 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.049e-05/0.005481, allocations: 115.9 kB / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.00549, allocations: 7.984 kB / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.005511, allocations: 16.38 kB / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005513, allocations: 0 / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.005515, allocations: 4.062 kB / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.005518, allocations: 0 / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.005686, allocations: 218.7 kB / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.005687, allocations: 0 / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.00571, allocations: 15.98 kB / 0.8434 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.005714, allocations: 7.938 kB / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.005719, allocations: 3.938 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005719, allocations: 0 / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.00572, allocations: 0 / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.545e-05/0.005805, allocations: 151.9 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.005816, allocations: 11.94 kB / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.00583, allocations: 3.938 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.005864, allocations: 8 kB / 0.8436 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.00589, allocations: 3.984 kB / 0.8436 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.005895, allocations: 8 kB / 0.8436 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.608e-05/0.005911, allocations: 20.83 kB / 0.8436 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005911, allocations: 0 / 0.8436 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001492/0.006061, allocations: 24 kB / 0.8437 GB, free: 8.738 MB / 0.8073 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.13e-05/0.006152, allocations: 84.34 kB / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.006288, allocations: 153.2 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.00629, allocations: 0 / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.006321, allocations: 32.83 kB / 0.8439 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.006457, allocations: 23.61 kB / 0.8439 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.006672, allocations: 149.2 kB / 0.8441 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.0067, allocations: 55.36 kB / 0.8441 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.006725, allocations: 7.984 kB / 0.8441 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.006797, allocations: 75.34 kB / 0.8442 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.006798, allocations: 0 / 0.8442 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.002865/0.009663, allocations: 1.686 MB / 0.8459 GB, free: 6.438 MB / 0.8073 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.275173555128276]