Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001083/0.001083, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.002694, allocations: 440 kB / 10.41 MB, free: 284 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.0007124/0.0007124, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001729, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9831/0.9831, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08899/1.072, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.345/2.345, allocations: 447.1 MB / 0.675 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2354/2.58, allocations: 146 MB / 0.8176 GB, free: 3.789 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8189 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.387e-05, allocations: 4.844 kB / 0.8189 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002342/0.002366, allocations: 0.7989 MB / 0.8197 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.00396, allocations: 1.193 MB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.004008, allocations: 0 / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.004038, allocations: 7.875 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.004094, allocations: 7.938 kB / 0.8209 GB, free: 428 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.004514, allocations: 127.6 kB / 0.821 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.004723, allocations: 119.8 kB / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.00481, allocations: 19.88 kB / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.004956, allocations: 79.88 kB / 0.8212 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.005058, allocations: 43.81 kB / 0.8213 GB, free: 36 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.005089, allocations: 8 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.005181, allocations: 27.98 kB / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.005227, allocations: 8.062 kB / 0.8213 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.005278, allocations: 27.98 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.00546, allocations: 71.81 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.005475, allocations: 0 / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005476, allocations: 0 / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.005491, allocations: 0 / 0.8214 GB, free: 15.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005836/0.006074, allocations: 318.1 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.006112, allocations: 16.03 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.006163, allocations: 12.81 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.006272, allocations: 121.7 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.006287, allocations: 4.375 kB / 0.8219 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.006312, allocations: 8.375 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.006444, allocations: 62.94 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.006457, allocations: 192 / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.006466, allocations: 384 / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006472, allocations: 4.375 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.006507, allocations: 15.92 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.006848, allocations: 188.2 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.006949, allocations: 30.58 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.006973, allocations: 12.84 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.006981, allocations: 0 / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.007102, allocations: 75.48 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.007103, allocations: 0 / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001685/0.007272, allocations: 73.61 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.007308, allocations: 51.41 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.007393, allocations: 130.6 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.007422, allocations: 33.64 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.007472, allocations: 92.11 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.007498, allocations: 19.83 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.007569, allocations: 37.69 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.00768, allocations: 318.8 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.007757, allocations: 49.69 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.007845, allocations: 94.39 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.007975, allocations: 109.8 kB / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.007978, allocations: 0 / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002226/0.0082, allocations: 172.9 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.008244, allocations: 33.69 kB / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.008253, allocations: 7.938 kB / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.008267, allocations: 0 / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.008367, allocations: 12 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.008372, allocations: 4 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.008502, allocations: 32.11 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.008523, allocations: 8 kB / 0.8235 GB, free: 13.55 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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 0.0001006/0.008624, allocations: 128.7 kB / 0.8236 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.00864, allocations: 7.984 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.008668, allocations: 12.38 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.00867, allocations: 0 / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.008673, allocations: 4 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.008677, allocations: 0 / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.008909, allocations: 222.8 kB / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.008911, allocations: 4 kB / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.008952, allocations: 7.984 kB / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.008968, allocations: 15.83 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.00897, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.008977, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.008979, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.008981, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.009096, allocations: 163.5 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.009114, allocations: 3.938 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.00918, allocations: 7.984 kB / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.009214, allocations: 7.984 kB / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.009223, allocations: 8 kB / 0.824 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.942e-05/0.009252, allocations: 20.89 kB / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009252, allocations: 0 / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002429/0.009495, allocations: 20 kB / 0.8241 GB, free: 12.88 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001451/0.00964, allocations: 89.11 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.009838, allocations: 154.3 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.009843, allocations: 384 / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.009895, allocations: 40.77 kB / 0.8243 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.01018, allocations: 93.09 kB / 0.8244 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.01078, allocations: 161 kB / 0.8246 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.01082, allocations: 63.2 kB / 0.8246 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.01085, allocations: 7.859 kB / 0.8247 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.01096, allocations: 67.36 kB / 0.8247 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of SimCode: time 8.91e-07/0.01097, allocations: 4 kB / 0.8247 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.00465/0.01562, allocations: 1.72 MB / 0.8264 GB, free: 10.43 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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: 5.143850577995181]