Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008096/0.0008096, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002056, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007901/0.0007901, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001813, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9426/0.9426, allocations: 177.2 MB / 189.8 MB, free: 5.273 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.868/1.868, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4708/2.339, allocations: 123.3 MB / 0.7283 GB, free: 5.773 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7297 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.331e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001545/0.001568, allocations: 0.7979 MB / 0.7304 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.002588, allocations: 1.189 MB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.002626, allocations: 0 / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.00265, allocations: 3.938 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.002691, allocations: 12.59 kB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.002966, allocations: 129.8 kB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.003121, allocations: 124.3 kB / 0.7319 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.003194, allocations: 12.97 kB / 0.7319 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.003306, allocations: 71.75 kB / 0.7319 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.003381, allocations: 34.36 kB / 0.732 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.003403, allocations: 8.656 kB / 0.732 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.655e-05/0.003469, allocations: 23.98 kB / 0.732 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.003492, allocations: 10.33 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.00353, allocations: 24.94 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.003666, allocations: 79.73 kB / 0.7321 GB, free: 1.977 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/0.003679, allocations: 4 kB / 0.7321 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00368, allocations: 0.5938 kB / 0.7321 GB, free: 1.973 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.003693, allocations: 0.875 kB / 0.7321 GB, free: 1.973 MB / 0.698 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.0004796/0.004173, allocations: 318.1 kB / 0.7324 GB, free: 1.629 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.004202, allocations: 9.375 kB / 0.7324 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.004243, allocations: 12.92 kB / 0.7325 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.019e-05/0.004333, allocations: 109.7 kB / 0.7326 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.004346, allocations: 8.312 kB / 0.7326 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.004365, allocations: 9.125 kB / 0.7326 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.00448, allocations: 67.56 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.004488, allocations: 192 / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.004497, allocations: 6.094 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004502, allocations: 384 / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.304e-05/0.004525, allocations: 11.88 kB / 0.7327 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.004792, allocations: 188.2 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.004873, allocations: 27.39 kB / 0.7329 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.004893, allocations: 22.25 kB / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.004902, allocations: 0 / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.689e-05/0.004999, allocations: 71.56 kB / 0.733 GB, free: 1.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.005, allocations: 0.875 kB / 0.733 GB, free: 1.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001229/0.005123, allocations: 73.55 kB / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.005151, allocations: 51.94 kB / 0.7331 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.00521, allocations: 122.6 kB / 0.7332 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.005229, allocations: 38.47 kB / 0.7332 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.005263, allocations: 84.14 kB / 0.7333 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.00528, allocations: 21.64 kB / 0.7333 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.005325, allocations: 37.67 kB / 0.7334 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.005394, allocations: 318.8 kB / 0.7337 GB, free: 252 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.00544, allocations: 49.69 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.005496, allocations: 98.39 kB / 0.7338 GB, free: 76 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.861e-05/0.005585, allocations: 103.5 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.005587, allocations: 0 / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001343/0.005722, allocations: 166.1 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.005758, allocations: 43.34 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005763, allocations: 3.938 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.005777, allocations: 8.969 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.005841, allocations: 8 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.005845, allocations: 4.531 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.164e-05/0.005937, allocations: 33.58 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.005949, allocations: 4 kB / 0.7342 GB, free: 15.67 MB / 0.7136 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.171e-05/0.006011, allocations: 119 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.006023, allocations: 11.88 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.006051, allocations: 16.38 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.006053, allocations: 0 / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006055, allocations: 1.406 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.00606, allocations: 3.984 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.006255, allocations: 215.1 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.006256, allocations: 0.6562 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.006292, allocations: 15.92 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.0063, allocations: 8.609 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.006303, allocations: 4 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.006308, allocations: 0.6562 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.00631, allocations: 0.75 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.00631, allocations: 0 / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.942e-05/0.00639, allocations: 159.6 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.006405, allocations: 4.781 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.006441, allocations: 7.984 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.00647, allocations: 13.39 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006475, allocations: 4 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.62e-05/0.006491, allocations: 17.39 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006491, allocations: 0.5625 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001371/0.006628, allocations: 27.98 kB / 0.7348 GB, free: 15 MB / 0.7136 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.0001058/0.006734, allocations: 93.72 kB / 0.7349 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.006897, allocations: 155 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.006905, allocations: 9.25 kB / 0.735 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.006937, allocations: 16.86 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.007101, allocations: 98.03 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.007516, allocations: 175.6 kB / 0.7353 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.00755, allocations: 55.36 kB / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.007573, allocations: 7.984 kB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.007657, allocations: 67.36 kB / 0.7354 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of SimCode: time 1.062e-06/0.007658, allocations: 0 / 0.7354 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.003303/0.01096, allocations: 1.706 MB / 0.7371 GB, free: 12.63 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.913658562116325]