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.0009243/0.0009243, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001552/0.001552, allocations: 181 kB / 24.09 MB, free: 420 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 0.9745/0.9745, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.746/1.746, allocations: 359 MB / 0.6055 GB, free: 10.86 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.645e-06/2.645e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.121e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002169/0.0022, allocations: 0.7576 MB / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.003891, allocations: 1.187 MB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.003956, allocations: 0 / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.00399, allocations: 7.922 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/0.004075, allocations: 17.67 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.004625, allocations: 135.6 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.004814, allocations: 120.5 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.004914, allocations: 4 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.005043, allocations: 72.53 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.005123, allocations: 35.94 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.005147, allocations: 13.31 kB / 0.7899 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.005202, allocations: 23.94 kB / 0.7899 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.005226, allocations: 19.91 kB / 0.7899 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.00526, allocations: 27.98 kB / 0.7899 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.00539, allocations: 97.09 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005393, allocations: 4 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005394, allocations: 0 / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.005398, allocations: 0 / 0.79 GB, free: 9.68 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.0003929/0.005791, allocations: 427.2 kB / 0.7904 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.00584, allocations: 12.03 kB / 0.7904 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.005881, allocations: 18.27 kB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.591e-05/0.005947, allocations: 112.6 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.005957, allocations: 8.312 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.005972, allocations: 12.36 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.006069, allocations: 64.59 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.006075, allocations: 192 / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-06/0.00608, allocations: 384 / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.006085, allocations: 384 / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.006107, allocations: 16.92 kB / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.006403, allocations: 296.3 kB / 0.7909 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.006477, allocations: 40.72 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.006497, allocations: 19.67 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.006505, allocations: 0 / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.037e-05/0.006595, allocations: 86.72 kB / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.006597, allocations: 0 / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001478/0.006744, allocations: 89.56 kB / 0.7912 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.006774, allocations: 55.41 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.006845, allocations: 176.5 kB / 0.7914 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.007007, allocations: 37.64 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.007055, allocations: 142.8 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.007072, allocations: 15.84 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.00712, allocations: 47.33 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.007221, allocations: 0.4884 MB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.007273, allocations: 53.67 kB / 0.7922 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.007338, allocations: 108.8 kB / 0.7923 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.007423, allocations: 110.8 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.007425, allocations: 0 / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000184/0.007609, allocations: 201.4 kB / 0.7926 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.007639, allocations: 37.7 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.007645, allocations: 5.281 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.007656, allocations: 11.92 kB / 0.7926 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.007713, allocations: 8 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.007715, allocations: 1.219 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.007807, allocations: 27.97 kB / 0.7926 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.007819, allocations: 5.375 kB / 0.7926 GB, free: 6.719 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.248e-05/0.007891, allocations: 168.5 kB / 0.7928 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.007904, allocations: 9.703 kB / 0.7928 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.007928, allocations: 20.36 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007929, allocations: 0 / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.007931, allocations: 0 / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007934, allocations: 0 / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.008143, allocations: 318.4 kB / 0.7931 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.008146, allocations: 4.875 kB / 0.7931 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.008172, allocations: 7.984 kB / 0.7932 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.008176, allocations: 7.922 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.008182, allocations: 7.469 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.008183, allocations: 0 / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008184, allocations: 0 / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.008294, allocations: 231.8 kB / 0.7934 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.008303, allocations: 8 kB / 0.7934 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.008315, allocations: 3.938 kB / 0.7934 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.008355, allocations: 11.98 kB / 0.7934 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.008379, allocations: 0 / 0.7934 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.008387, allocations: 11.98 kB / 0.7934 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.008422, allocations: 128.2 kB / 0.7935 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008422, allocations: 1.906 kB / 0.7935 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001661/0.008588, allocations: 27.98 kB / 0.7936 GB, free: 5.719 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.0001163/0.008704, allocations: 99.25 kB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.008857, allocations: 159.2 kB / 0.7938 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008859, allocations: 0 / 0.7938 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/0.008887, allocations: 27.61 kB / 0.7938 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.009071, allocations: 26.47 kB / 0.7939 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.009315, allocations: 174.6 kB / 0.794 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.272e-05/0.009347, allocations: 62.39 kB / 0.7941 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.009369, allocations: 4.844 kB / 0.7941 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.009448, allocations: 94.17 kB / 0.7942 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.009449, allocations: 1.344 kB / 0.7942 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of Templates: time 0.003147/0.0126, allocations: 1.716 MB / 0.7959 GB, free: 3.34 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: 4.922123164869845]