Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001218/0.001218, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001814/0.003032, 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.001102/0.001102, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002533, 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 1.116/1.116, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09204/1.208, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.866/1.866, allocations: 378.3 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5497/2.416, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.639e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001817/0.001834, allocations: 0.8023 MB / 0.7304 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.00322, allocations: 1.188 MB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.003264, allocations: 0 / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.003289, allocations: 3.938 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.003342, allocations: 14.11 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.003698, allocations: 133 kB / 0.7318 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.003887, allocations: 119.2 kB / 0.7319 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.124e-05/0.003969, allocations: 13.81 kB / 0.7319 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.004109, allocations: 71.55 kB / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.522e-05/0.004205, allocations: 49.28 kB / 0.732 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.00423, allocations: 9.312 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-05/0.004314, allocations: 24 kB / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.004338, allocations: 7.984 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.004392, allocations: 27.94 kB / 0.7321 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004561, allocations: 72.59 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.004574, allocations: 0 / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004575, allocations: 0.625 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.004589, allocations: 0.9062 kB / 0.7321 GB, free: 1.926 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005398/0.005129, allocations: 322 kB / 0.7324 GB, free: 1.578 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.005163, allocations: 8.844 kB / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.005213, allocations: 12.92 kB / 0.7325 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.005324, allocations: 119 kB / 0.7326 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.005339, allocations: 8.375 kB / 0.7326 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.005365, allocations: 8.375 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.005499, allocations: 66.92 kB / 0.7327 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005508, allocations: 0.7188 kB / 0.7327 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005519, allocations: 5.766 kB / 0.7327 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.005526, allocations: 4.375 kB / 0.7327 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.005558, allocations: 7.938 kB / 0.7327 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.005889, allocations: 189.3 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.582e-05/0.005984, allocations: 34.64 kB / 0.7329 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.006005, allocations: 13.34 kB / 0.7329 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.006014, allocations: 1.594 kB / 0.7329 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.006132, allocations: 71.44 kB / 0.733 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.006134, allocations: 0 / 0.733 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001658/0.006299, allocations: 73.59 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.006341, allocations: 53 kB / 0.7331 GB, free: 0.832 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/0.006434, allocations: 122.6 kB / 0.7332 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.006461, allocations: 33.7 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.00651, allocations: 88.12 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.006537, allocations: 24.44 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.006606, allocations: 41.67 kB / 0.7334 GB, free: 0.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.006712, allocations: 324.1 kB / 0.7337 GB, free: 180 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.006783, allocations: 53.67 kB / 0.7337 GB, free: 120 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.006872, allocations: 85.98 kB / 0.7338 GB, free: 12 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.007, allocations: 103.4 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.007002, allocations: 0 / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002129/0.007215, allocations: 174.3 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.007263, allocations: 37.47 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.007271, allocations: 7.938 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.007287, allocations: 1.188 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.007368, allocations: 16 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.007375, allocations: 7.984 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.007495, allocations: 20.95 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.007512, allocations: 5.25 kB / 0.7342 GB, free: 15.61 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,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 8.166e-05/0.007594, allocations: 121.8 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.007609, allocations: 8.844 kB / 0.7343 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.007638, allocations: 16.31 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.007641, allocations: 4.516 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.007646, allocations: 3.984 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.00765, allocations: 5 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.007881, allocations: 214.8 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007883, allocations: 0.9375 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.007922, allocations: 7.984 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.007938, allocations: 17.11 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.00794, allocations: 0 / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.007947, allocations: 0 / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007948, allocations: 0 / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.007949, allocations: 0.6562 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.008067, allocations: 155.9 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.008087, allocations: 12.67 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.008157, allocations: 4.688 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.008192, allocations: 11.98 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.008197, allocations: 2 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.326e-05/0.00822, allocations: 17.39 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.008221, allocations: 0 / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002494/0.00847, allocations: 27.94 kB / 0.7348 GB, free: 14.94 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 (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.0001287/0.008599, allocations: 96.23 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.008802, allocations: 149.9 kB / 0.735 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.008808, allocations: 1.25 kB / 0.735 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.459e-05/0.008863, allocations: 32.78 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.009121, allocations: 96.16 kB / 0.7351 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.009698, allocations: 173 kB / 0.7353 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.00974, allocations: 59.34 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.009771, allocations: 7.25 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.009879, allocations: 67.36 kB / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/0.00988, allocations: 0 / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.004392/0.01427, allocations: 1.72 MB / 0.7371 GB, free: 12.56 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge/Buildings_12_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.134522357955575]