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.0008488/0.0008488, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001038/0.001038, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.891/0.891, allocations: 177.1 MB / 203.5 MB, free: 5.742 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 1.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 2.375e-06/2.375e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.688e-05, allocations: 5.375 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001287/0.001314, allocations: 0.7208 MB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.002656, allocations: 1.182 MB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.002699, allocations: 3.938 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.002727, allocations: 3.938 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.002793, allocations: 15.88 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.003182, allocations: 134 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.003325, allocations: 119.8 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.003417, allocations: 8 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.003521, allocations: 67.92 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.003598, allocations: 43.88 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.00362, allocations: 12 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.19e-05/0.003672, allocations: 19.98 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.003694, allocations: 11.94 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.00374, allocations: 35.95 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.003905, allocations: 131.6 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003907, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003908, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003912, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 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.0004522/0.004364, allocations: 335.8 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.004402, allocations: 17.34 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.004446, allocations: 8.891 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.004522, allocations: 121.7 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.004536, allocations: 8.375 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.004554, allocations: 8.375 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.004692, allocations: 74.14 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.004699, allocations: 192 / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.004709, allocations: 384 / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004714, allocations: 4.312 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.004819, allocations: 51.89 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.005193, allocations: 260.5 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.005317, allocations: 54.56 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.005367, allocations: 28.95 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.005378, allocations: 0 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.005541, allocations: 107.3 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.005542, allocations: 4 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002782/0.00582, allocations: 133.6 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.005855, allocations: 55.41 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.005921, allocations: 121.8 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.005941, allocations: 33.7 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.005984, allocations: 88.14 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.006005, allocations: 27.81 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.006056, allocations: 37.7 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.00613, allocations: 322.8 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.006241, allocations: 85.66 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.006354, allocations: 120.8 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.006515, allocations: 137.9 kB / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006517, allocations: 4 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002703/0.006787, allocations: 244.8 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.006819, allocations: 39.41 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.006825, allocations: 4 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.006838, allocations: 0 / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.006896, allocations: 11.98 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.006903, allocations: 16 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.007011, allocations: 35.92 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.007025, allocations: 7.984 kB / 1.006 GB, free: 7.676 MB / 0.9636 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 7.087e-05/0.007096, allocations: 120.1 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.007106, allocations: 11.89 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.007131, allocations: 8.438 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.007135, allocations: 4 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.007139, allocations: 0 / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.007143, allocations: 7.984 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.007448, allocations: 318.1 kB / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007449, allocations: 0 / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.007478, allocations: 7.984 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00748, allocations: 4 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.007487, allocations: 0 / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007489, allocations: 0 / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00749, allocations: 0 / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.007655, allocations: 215.3 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-06/0.007665, allocations: 11.89 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.007679, allocations: 4 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/0.007724, allocations: 12.05 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.00776, allocations: 3.984 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.007767, allocations: 8 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.007801, allocations: 91.81 kB / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007801, allocations: 0 / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000177/0.007978, allocations: 20 kB / 1.007 GB, free: 6.785 MB / 0.9636 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.0001197/0.008098, allocations: 107.2 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.008355, allocations: 192.9 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008357, allocations: 0 / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.008421, allocations: 40.39 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.008625, allocations: 28.11 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.008911, allocations: 183.2 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.602e-05/0.008957, allocations: 79.27 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.008982, allocations: 12.5 kB / 1.007 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of SimCode: time 6.12e-07/0.008982, allocations: 0 / 1.007 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of Templates: time 0.002042/0.01102, allocations: 1.283 MB / 1.009 GB, free: 4.797 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.529331235215068]